Lines Matching refs:tcase
78 const struct test_type *tcase; \
86 const struct test_type *tc = tdata->tcase; \
107 do_##test_type (const struct test_type *tcase, FILE *stderr_trapped) \
112 printf("begin: %s\n", tcase->label); \
118 tdata.tcase = tcase; \
130 if (!check_stderr (tcase->expect_errmsg, stderr_trapped)) \
133 printf("FAIL: %s: stderr not as expected\n", tcase->label); \
138 printf("FAIL: %s: did not complete loop\n", tcase->label); \
143 printf("FAIL: %s: thread was not cancelled\n", tcase->label); \
146 printf ("pass: %s\n", tcase->label); \
271 for (const struct test_short *tcase = tests_short; tcase->label; tcase++) in do_test() local
272 success = do_test_short (tcase, stderr_trapped) && success; in do_test()
274 for (const struct test_long *tcase = tests_long; tcase->label; tcase++) in do_test() local
275 success = do_test_long (tcase, stderr_trapped) && success; in do_test()