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_memory.c
diff --git
a/app/test/test_memory.c
b/app/test/test_memory.c
index
6816385
..
921bdc8
100644
(file)
--- a/
app/test/test_memory.c
+++ b/
app/test/test_memory.c
@@
-86,8
+86,4
@@
test_memory(void)
return 0;
}
-static struct test_command memory_cmd = {
- .command = "memory_autotest",
- .callback = test_memory,
-};
-REGISTER_TEST_COMMAND(memory_cmd);
+REGISTER_TEST_COMMAND(memory_autotest, test_memory);