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_hash_perf.c
diff --git
a/app/test/test_hash_perf.c
b/app/test/test_hash_perf.c
index
9d53c14
..
c0051b2
100644
(file)
--- a/
app/test/test_hash_perf.c
+++ b/
app/test/test_hash_perf.c
@@
-656,8
+656,4
@@
test_hash_perf(void)
return 0;
}
-static struct test_command hash_perf_cmd = {
- .command = "hash_perf_autotest",
- .callback = test_hash_perf,
-};
-REGISTER_TEST_COMMAND(hash_perf_cmd);
+REGISTER_TEST_COMMAND(hash_perf_autotest, test_hash_perf);