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_debug.c
diff --git
a/app/test/test_debug.c
b/app/test/test_debug.c
index
135b75d
..
4659e46
100644
(file)
--- a/
app/test/test_debug.c
+++ b/
app/test/test_debug.c
@@
-156,7
+156,7
@@
test_usage(void)
return 0;
}
-int
+
static
int
test_debug(void)
{
rte_dump_stack();
@@
-169,3
+169,9
@@
test_debug(void)
return -1;
return 0;
}
+
+static struct test_command debug_cmd = {
+ .command = "debug_autotest",
+ .callback = test_debug,
+};
+REGISTER_TEST_COMMAND(debug_cmd);