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_perf.c
diff --git
a/app/test/test_memcpy_perf.c
b/app/test/test_memcpy_perf.c
index
f6b95c9
..
7809610
100644
(file)
--- a/
app/test/test_memcpy_perf.c
+++ b/
app/test/test_memcpy_perf.c
@@
-278,7
+278,7
@@
perf_test(void)
}
-int
+
static
int
test_memcpy_perf(void)
{
int ret;
@@
-288,3
+288,9
@@
test_memcpy_perf(void)
return -1;
return 0;
}
+
+static struct test_command memcpy_perf_cmd = {
+ .command = "memcpy_perf_autotest",
+ .callback = test_memcpy_perf,
+};
+REGISTER_TEST_COMMAND(memcpy_perf_cmd);