[PATCHv2,1/7] validation: pktio: use _CU_TEST_INFO for segmented tests

Message ID 1441360547-18999-1-git-send-email-stuart.haslam@linaro.org
State New
Headers show

Commit Message

Stuart Haslam Sept. 4, 2015, 9:55 a.m.
Use _CU_TEST_INFO macro in the segmented packet CU_TestInfo array
so that the test name matches the function name, in keeping with all
other tests.

Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org>
---
 test/validation/pktio/pktio.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Patch

diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c
index 5c0799b..512a77c 100644
--- a/test/validation/pktio/pktio.c
+++ b/test/validation/pktio/pktio.c
@@ -889,11 +889,11 @@  CU_TestInfo pktio_suite_unsegmented[] = {
 };
 
 CU_TestInfo pktio_suite_segmented[] = {
-	{"pktio poll queues",	pktio_test_poll_queue},
-	{"pktio poll multi",	pktio_test_poll_multi},
-	{"pktio sched queues",	pktio_test_sched_queue},
-	{"pktio sched multi",	pktio_test_sched_multi},
-	{"pktio jumbo frames",	pktio_test_jumbo},
+	_CU_TEST_INFO(pktio_test_poll_queue),
+	_CU_TEST_INFO(pktio_test_poll_multi),
+	_CU_TEST_INFO(pktio_test_sched_queue),
+	_CU_TEST_INFO(pktio_test_sched_multi),
+	_CU_TEST_INFO(pktio_test_jumbo),
 	CU_TEST_INFO_NULL
 };