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_lpm6.c
diff --git
a/app/test/test_lpm6.c
b/app/test/test_lpm6.c
index
458a10b
..
0fd0ef7
100644
(file)
--- a/
app/test/test_lpm6.c
+++ b/
app/test/test_lpm6.c
@@
-1764,8
+1764,4
@@
test_lpm6(void)
return global_status;
}
-static struct test_command lpm6_cmd = {
- .command = "lpm6_autotest",
- .callback = test_lpm6,
-};
-REGISTER_TEST_COMMAND(lpm6_cmd);
+REGISTER_TEST_COMMAND(lpm6_autotest, test_lpm6);