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_cycles.c
diff --git
a/app/test/test_cycles.c
b/app/test/test_cycles.c
index
d8fa517
..
f6c043a
100644
(file)
--- a/
app/test/test_cycles.c
+++ b/
app/test/test_cycles.c
@@
-89,8
+89,4
@@
test_cycles(void)
return 0;
}
-static struct test_command cycles_cmd = {
- .command = "cycles_autotest",
- .callback = test_cycles,
-};
-REGISTER_TEST_COMMAND(cycles_cmd);
+REGISTER_TEST_COMMAND(cycles_autotest, test_cycles);