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_atomic.c
diff --git
a/app/test/test_atomic.c
b/app/test/test_atomic.c
index
588f530
..
b5e7e1b
100644
(file)
--- a/
app/test/test_atomic.c
+++ b/
app/test/test_atomic.c
@@
-374,8
+374,4
@@
test_atomic(void)
return 0;
}
-static struct test_command atomic_cmd = {
- .command = "atomic_autotest",
- .callback = test_atomic,
-};
-REGISTER_TEST_COMMAND(atomic_cmd);
+REGISTER_TEST_COMMAND(atomic_autotest, test_atomic);