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_scaling.c
diff --git
a/app/test/test_hash_scaling.c
b/app/test/test_hash_scaling.c
index
1c4c75d
..
46c48e5
100644
(file)
--- a/
app/test/test_hash_scaling.c
+++ b/
app/test/test_hash_scaling.c
@@
-217,9
+217,4
@@
test_hash_scaling_main(void)
return r;
}
return r;
}
-
-static struct test_command hash_scaling_cmd = {
- .command = "hash_scaling_autotest",
- .callback = test_hash_scaling_main,
-};
-REGISTER_TEST_COMMAND(hash_scaling_cmd);
+REGISTER_TEST_COMMAND(hash_scaling_autotest, test_hash_scaling_main);