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_common.c
diff --git
a/app/test/test_common.c
b/app/test/test_common.c
index
628201b
..
4b71e7b
100644
(file)
--- a/
app/test/test_common.c
+++ b/
app/test/test_common.c
@@
-158,7
+158,7
@@
test_align(void)
return 0;
}
-int
+
static
int
test_common(void)
{
int ret = 0;
@@
-168,3
+168,9
@@
test_common(void)
return ret;
}
+
+static struct test_command common_cmd = {
+ .command = "common_autotest",
+ .callback = test_common,
+};
+REGISTER_TEST_COMMAND(common_cmd);