aboutsummaryrefslogtreecommitdiffstats
path: root/tests/blogc-make/check_rules.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/blogc-make/check_rules.c')
-rw-r--r--tests/blogc-make/check_rules.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/blogc-make/check_rules.c b/tests/blogc-make/check_rules.c
index ed2e46a..5da412f 100644
--- a/tests/blogc-make/check_rules.c
+++ b/tests/blogc-make/check_rules.c
@@ -96,9 +96,9 @@ test_rule_parse_args_error(void **state)
int
main(void)
{
- const UnitTest tests[] = {
- unit_test(test_rule_parse_args),
- unit_test(test_rule_parse_args_error),
+ const struct CMUnitTest tests[] = {
+ cmocka_unit_test(test_rule_parse_args),
+ cmocka_unit_test(test_rule_parse_args_error),
};
- return run_tests(tests);
+ return cmocka_run_group_tests(tests, NULL, NULL);
}