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_version.c
diff --git
a/app/test/test_version.c
b/app/test/test_version.c
index
f66827d
..
afc0d0b
100644
(file)
--- a/
app/test/test_version.c
+++ b/
app/test/test_version.c
@@
-54,8
+54,4
@@
test_version(void)
return 0;
}
-static struct test_command version_cmd = {
- .command = "version_autotest",
- .callback = test_version,
-};
-REGISTER_TEST_COMMAND(version_cmd);
+REGISTER_TEST_COMMAND(version_autotest, test_version);