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_cycles.c
diff --git
a/app/test/test_cycles.c
b/app/test/test_cycles.c
index
b8d66a0
..
f6c043a
100644
(file)
--- a/
app/test/test_cycles.c
+++ b/
app/test/test_cycles.c
@@
-52,7
+52,7
@@
* of cycles is correct with regard to the frequency of the timer.
*/
-int
+
static
int
test_cycles(void)
{
unsigned i;
@@
-88,3
+88,5
@@
test_cycles(void)
return 0;
}
+
+REGISTER_TEST_COMMAND(cycles_autotest, test_cycles);