diff --git a/tests/test.c b/tests/test.c index a56cbcd6..7edb0589 100644 --- a/tests/test.c +++ b/tests/test.c @@ -92,6 +92,9 @@ static void run_test(struct UnitTest *test) { test_num = 0; + if (!test->t_name || !test->t_func) + return; + printf("Testing %s\n", test->t_name); test->t_func(); printf("\n");