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_ivshmem.c
diff --git
a/app/test/test_ivshmem.c
b/app/test/test_ivshmem.c
index
4e61488
..
ae9fd6c
100644
(file)
--- a/
app/test/test_ivshmem.c
+++ b/
app/test/test_ivshmem.c
@@
-430,8
+430,4
@@
test_ivshmem(void)
return -1;
}
-static struct test_command ivshmem_cmd = {
- .command = "ivshmem_autotest",
- .callback = test_ivshmem,
-};
-REGISTER_TEST_COMMAND(ivshmem_cmd);
+REGISTER_TEST_COMMAND(ivshmem_autotest, test_ivshmem);