From 3ff8703ca68709c116762a5feda378903e2419d9 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Thu, 5 Nov 2020 22:03:02 +0100 Subject: tests: upgrade deprecated cmocka test runner --- tests/blogc-make/check_utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/blogc-make/check_utils.c') diff --git a/tests/blogc-make/check_utils.c b/tests/blogc-make/check_utils.c index 5b3614d..09d1580 100644 --- a/tests/blogc-make/check_utils.c +++ b/tests/blogc-make/check_utils.c @@ -460,9 +460,9 @@ test_generate_filename2(void **state) int main(void) { - const UnitTest tests[] = { - unit_test(test_generate_filename), - unit_test(test_generate_filename2), + const struct CMUnitTest tests[] = { + cmocka_unit_test(test_generate_filename), + cmocka_unit_test(test_generate_filename2), }; - return run_tests(tests); + return cmocka_run_group_tests(tests, NULL, NULL); } -- cgit v1.2.3-18-g5258