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_errno.c
diff --git
a/app/test/test_errno.c
b/app/test/test_errno.c
index
93ad0b5
..
c903b19
100644
(file)
--- a/
app/test/test_errno.c
+++ b/
app/test/test_errno.c
@@
-42,7
+42,7
@@
#include "test.h"
-int
+
static
int
test_errno(void)
{
const char *rte_retval;
@@
-112,3
+112,9
@@
test_errno(void)
return 0;
}
+
+static struct test_command errno_cmd = {
+ .command = "errno_autotest",
+ .callback = test_errno,
+};
+REGISTER_TEST_COMMAND(errno_cmd);