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: rework command registration
[dpdk.git]
/
app
/
test
/
test_memcpy.c
diff --git
a/app/test/test_memcpy.c
b/app/test/test_memcpy.c
index
8195e20
..
1d93dd5
100644
(file)
--- a/
app/test/test_memcpy.c
+++ b/
app/test/test_memcpy.c
@@
-159,8
+159,4
@@
test_memcpy(void)
return 0;
}
-static struct test_command memcpy_cmd = {
- .command = "memcpy_autotest",
- .callback = test_memcpy,
-};
-REGISTER_TEST_COMMAND(memcpy_cmd);
+REGISTER_TEST_COMMAND(memcpy_autotest, test_memcpy);