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_memcpy.c
diff --git
a/app/test/test_memcpy.c
b/app/test/test_memcpy.c
index
ee0b0da
..
56b8e1e
100644
(file)
--- a/
app/test/test_memcpy.c
+++ b/
app/test/test_memcpy.c
@@
-210,7
+210,7
@@
func_test(void)
return 0;
}
-int
+
static
int
test_memcpy(void)
{
int ret;
@@
-223,3
+223,9
@@
test_memcpy(void)
return -1;
return 0;
}
+
+static struct test_command memcpy_cmd = {
+ .command = "memcpy_autotest",
+ .callback = test_memcpy,
+};
+REGISTER_TEST_COMMAND(memcpy_cmd);