git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/test: rework command registration
[dpdk.git]
/
app
/
test
/
test_link_bonding_mode4.c
diff --git
a/app/test/test_link_bonding_mode4.c
b/app/test/test_link_bonding_mode4.c
index
a3f1f08
..
53caa3e
100644
(file)
--- a/
app/test/test_link_bonding_mode4.c
+++ b/
app/test/test_link_bonding_mode4.c
@@
-1599,9
+1599,4
@@
test_link_bonding_mode4(void)
return unit_test_suite_runner(&link_bonding_mode4_test_suite);
}
return unit_test_suite_runner(&link_bonding_mode4_test_suite);
}
-static struct test_command link_bonding_cmd = {
- .command = "link_bonding_mode4_autotest",
- .callback = test_link_bonding_mode4,
-};
-
-REGISTER_TEST_COMMAND(link_bonding_cmd);
+REGISTER_TEST_COMMAND(link_bonding_mode4_autotest, test_link_bonding_mode4);