diff options
Diffstat (limited to 'tests/common/check_sort.c')
-rw-r--r-- | tests/common/check_sort.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/common/check_sort.c b/tests/common/check_sort.c index f49710c..2bc8751 100644 --- a/tests/common/check_sort.c +++ b/tests/common/check_sort.c @@ -136,13 +136,13 @@ test_slist_sort_mixed2(void **state) int main(void) { - const UnitTest tests[] = { - unit_test(test_slist_sort_empty), - unit_test(test_slist_sort_single), - unit_test(test_slist_sort_sorted), - unit_test(test_slist_sort_reverse), - unit_test(test_slist_sort_mixed1), - unit_test(test_slist_sort_mixed2), + const struct CMUnitTest tests[] = { + cmocka_unit_test(test_slist_sort_empty), + cmocka_unit_test(test_slist_sort_single), + cmocka_unit_test(test_slist_sort_sorted), + cmocka_unit_test(test_slist_sort_reverse), + cmocka_unit_test(test_slist_sort_mixed1), + cmocka_unit_test(test_slist_sort_mixed2), }; - return run_tests(tests); + return cmocka_run_group_tests(tests, NULL, NULL); } |