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_power.c
diff --git
a/app/test/test_power.c
b/app/test/test_power.c
index
64a2305
..
b2e1344
100644
(file)
--- a/
app/test/test_power.c
+++ b/
app/test/test_power.c
@@
-104,8
+104,4
@@
fail_all:
return -1;
}
-static struct test_command power_cmd = {
- .command = "power_autotest",
- .callback = test_power,
-};
-REGISTER_TEST_COMMAND(power_cmd);
+REGISTER_TEST_COMMAND(power_autotest, test_power);