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_tailq.c
diff --git
a/app/test/test_tailq.c
b/app/test/test_tailq.c
index
c046a8a
..
33a3e8a
100644
(file)
--- a/
app/test/test_tailq.c
+++ b/
app/test/test_tailq.c
@@
-154,8
+154,4
@@
test_tailq(void)
return ret;
}
-static struct test_command tailq_cmd = {
- .command = "tailq_autotest",
- .callback = test_tailq,
-};
-REGISTER_TEST_COMMAND(tailq_cmd);
+REGISTER_TEST_COMMAND(tailq_autotest, test_tailq);