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_resource.c
diff --git
a/app/test/test_resource.c
b/app/test/test_resource.c
index
39a6468
..
a3a82f1
100644
(file)
--- a/
app/test/test_resource.c
+++ b/
app/test/test_resource.c
@@
-130,8
+130,4
@@
static int test_resource(void)
return 0;
}
-static struct test_command resource_cmd = {
- .command = "resource_autotest",
- .callback = test_resource,
-};
-REGISTER_TEST_COMMAND(resource_cmd);
+REGISTER_TEST_COMMAND(resource_autotest, test_resource);