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_common.c
diff --git
a/app/test/test_common.c
b/app/test/test_common.c
index
66e9109
..
8effa2f
100644
(file)
--- a/
app/test/test_common.c
+++ b/
app/test/test_common.c
@@
-169,8
+169,4
@@
test_common(void)
return ret;
}
-static struct test_command common_cmd = {
- .command = "common_autotest",
- .callback = test_common,
-};
-REGISTER_TEST_COMMAND(common_cmd);
+REGISTER_TEST_COMMAND(common_autotest, test_common);