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_lpm.c
diff --git
a/app/test/test_lpm.c
b/app/test/test_lpm.c
index
f6930fb
..
b6ad2eb
100644
(file)
--- a/
app/test/test_lpm.c
+++ b/
app/test/test_lpm.c
@@
-1238,8
+1238,4
@@
test_lpm(void)
return global_status;
}
-static struct test_command lpm_cmd = {
- .command = "lpm_autotest",
- .callback = test_lpm,
-};
-REGISTER_TEST_COMMAND(lpm_cmd);
+REGISTER_TEST_COMMAND(lpm_autotest, test_lpm);