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: convert all tests to register system
[dpdk.git]
/
app
/
test
/
test_ring_perf.c
diff --git
a/app/test/test_ring_perf.c
b/app/test/test_ring_perf.c
index
9ec6932
..
44dda4d
100644
(file)
--- a/
app/test/test_ring_perf.c
+++ b/
app/test/test_ring_perf.c
@@
-381,7
+381,7
@@
test_bulk_enqueue_dequeue(void)
}
}
-int
+
static
int
test_ring_perf(void)
{
struct lcore_pair cores;
@@
-413,3
+413,9
@@
test_ring_perf(void)
}
return 0;
}
+
+static struct test_command ring_perf_cmd = {
+ .command = "ring_perf_autotest",
+ .callback = test_ring_perf,
+};
+REGISTER_TEST_COMMAND(ring_perf_cmd);