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_timer.c
diff --git
a/app/test/test_timer.c
b/app/test/test_timer.c
index
bc07925
..
2f6525a
100644
(file)
--- a/
app/test/test_timer.c
+++ b/
app/test/test_timer.c
@@
-626,8
+626,4
@@
test_timer(void)
return TEST_SUCCESS;
}
-static struct test_command timer_cmd = {
- .command = "timer_autotest",
- .callback = test_timer,
-};
-REGISTER_TEST_COMMAND(timer_cmd);
+REGISTER_TEST_COMMAND(timer_autotest, test_timer);