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_prefetch.c
diff --git
a/app/test/test_prefetch.c
b/app/test/test_prefetch.c
index
f8615e2
..
80afaaf
100644
(file)
--- a/
app/test/test_prefetch.c
+++ b/
app/test/test_prefetch.c
@@
-58,8
+58,4
@@
test_prefetch(void)
return 0;
}
-static struct test_command prefetch_cmd = {
- .command = "prefetch_autotest",
- .callback = test_prefetch,
-};
-REGISTER_TEST_COMMAND(prefetch_cmd);
+REGISTER_TEST_COMMAND(prefetch_autotest, test_prefetch);