[02/13] validation: cpumask: using _CU_TEST_INFO()

Message ID 1438001035-21900-3-git-send-email-christophe.milard@linaro.org
State New
Headers show

Commit Message

Christophe Milard July 27, 2015, 12:43 p.m.
Signed-off-by: Christophe Milard <christophe.milard@linaro.org>
---
 test/validation/cpumask/cpumask.c | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

Patch

diff --git a/test/validation/cpumask/cpumask.c b/test/validation/cpumask/cpumask.c
index 76b7648..db3f2c4 100644
--- a/test/validation/cpumask/cpumask.c
+++ b/test/validation/cpumask/cpumask.c
@@ -73,24 +73,24 @@  static void cpumask_test_odp_cpumask_def(void)
 }
 
 static CU_TestInfo cpumask_suite[] = {
-	{"odp_cpumask_to/from_str()", cpumask_test_odp_cpumask_to_from_str},
-	{"odp_cpumask_equal()",	      cpumask_test_odp_cpumask_equal},
-	{"odp_cpumask_zero()",	      cpumask_test_odp_cpumask_zero},
-	{"odp_cpumask_set()",	      cpumask_test_odp_cpumask_set},
-	{"odp_cpumask_clr()",	      cpumask_test_odp_cpumask_clr},
-	{"odp_cpumask_isset()",	      cpumask_test_odp_cpumask_isset},
-	{"odp_cpumask_count()",	      cpumask_test_odp_cpumask_count},
-	{"odp_cpumask_and()",	      cpumask_test_odp_cpumask_and},
-	{"odp_cpumask_or()",	      cpumask_test_odp_cpumask_or},
-	{"odp_cpumask_xor()",	      cpumask_test_odp_cpumask_xor},
-	{"odp_cpumask_copy()",	      cpumask_test_odp_cpumask_copy},
-	{"odp_cpumask_first()",	      cpumask_test_odp_cpumask_first},
-	{"odp_cpumask_last()",	      cpumask_test_odp_cpumask_last},
-	{"odp_cpumask_next()",	      cpumask_test_odp_cpumask_next},
-	{"odp_cpumask_setall()",      cpumask_test_odp_cpumask_setall},
-	{"odp_cpumask_def_control()", cpumask_test_odp_cpumask_def_control},
-	{"odp_cpumask_def_worker()",  cpumask_test_odp_cpumask_def_worker},
-	{"odp_cpumask_def()",	      cpumask_test_odp_cpumask_def},
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_to_from_str),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_equal),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_zero),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_set),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_clr),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_isset),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_count),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_and),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_or),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_xor),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_copy),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_first),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_last),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_next),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_setall),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_def_control),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_def_worker),
+	_CU_TEST_INFO(cpumask_test_odp_cpumask_def),
 	CU_TEST_INFO_NULL,
 };