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_tailq.c
diff --git
a/app/test/test_tailq.c
b/app/test/test_tailq.c
index
c9b53ee
..
4d32c6f
100644
(file)
--- a/
app/test/test_tailq.c
+++ b/
app/test/test_tailq.c
@@
-153,7
+153,7
@@
test_tailq_deprecated(void)
return 0;
}
-int
+
static
int
test_tailq(void)
{
int ret = 0;
@@
-162,3
+162,9
@@
test_tailq(void)
ret |= test_tailq_deprecated();
return ret;
}
+
+static struct test_command tailq_cmd = {
+ .command = "tailq_autotest",
+ .callback = test_tailq,
+};
+REGISTER_TEST_COMMAND(tailq_cmd);