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: convert all tests to register system
[dpdk.git]
/
app
/
test
/
test_malloc.c
diff --git
a/app/test/test_malloc.c
b/app/test/test_malloc.c
index
0817151
..
ee34ca3
100644
(file)
--- a/
app/test/test_malloc.c
+++ b/
app/test/test_malloc.c
@@
-924,7
+924,7
@@
test_alloc_socket(void)
return 0;
}
-int
+
static
int
test_malloc(void)
{
unsigned lcore_id;
@@
-1045,3
+1045,9
@@
test_malloc(void)
return 0;
}
+
+static struct test_command malloc_cmd = {
+ .command = "malloc_autotest",
+ .callback = test_malloc,
+};
+REGISTER_TEST_COMMAND(malloc_cmd);