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_malloc.c
diff --git
a/app/test/test_malloc.c
b/app/test/test_malloc.c
index
a04a751
..
0673d85
100644
(file)
--- a/
app/test/test_malloc.c
+++ b/
app/test/test_malloc.c
@@
-959,8
+959,4
@@
test_malloc(void)
return 0;
}
-static struct test_command malloc_cmd = {
- .command = "malloc_autotest",
- .callback = test_malloc,
-};
-REGISTER_TEST_COMMAND(malloc_cmd);
+REGISTER_TEST_COMMAND(malloc_autotest, test_malloc);