Lines Matching defs:tc
82 atf_tc_t tc;
85 RE(atf_tc_init(&tc, name, head, body, NULL, config));
86 run_h_tc(&tc, "output", "error", "result");
87 atf_tc_fini(&tc);
95 ATF_TC_HEAD(h_ ## id, tc) \
97 atf_tc_set_md_var(tc, "descr", "Helper test case"); \
99 ATF_TC_BODY(h_ ## id, tc) \
234 ATF_TC_HEAD(check_errno, tc)
236 atf_tc_set_md_var(tc, "descr", "Tests the ATF_CHECK_ERRNO macro");
238 ATF_TC_BODY(check_errno, tc)
278 ATF_TC_HEAD(require_errno, tc)
280 atf_tc_set_md_var(tc, "descr", "Tests the ATF_REQUIRE_ERRNO macro");
282 ATF_TC_BODY(require_errno, tc)
332 ATF_TC_HEAD(check, tc)
334 atf_tc_set_md_var(tc, "descr", "Tests the ATF_CHECK and "
337 ATF_TC_BODY(check, tc)
429 ATF_TC_HEAD(check_eq, tc)
431 atf_tc_set_md_var(tc, "descr", "Tests the ATF_CHECK_EQ and "
434 ATF_TC_BODY(check_eq, tc)
473 ATF_TC_HEAD(check_streq, tc)
475 atf_tc_set_md_var(tc, "descr", "Tests the ATF_CHECK_STREQ and "
478 ATF_TC_BODY(check_streq, tc)
520 ATF_TC_HEAD(check_match, tc)
522 atf_tc_set_md_var(tc, "descr", "Tests the ATF_CHECK_MATCH and "
525 ATF_TC_BODY(check_match, tc)
554 ATF_TC_HEAD(require, tc)
556 atf_tc_set_md_var(tc, "descr", "Tests the ATF_REQUIRE and "
559 ATF_TC_BODY(require, tc)
651 ATF_TC_HEAD(require_eq, tc)
653 atf_tc_set_md_var(tc, "descr", "Tests the ATF_REQUIRE_EQ and "
656 ATF_TC_BODY(require_eq, tc)
695 ATF_TC_HEAD(require_streq, tc)
697 atf_tc_set_md_var(tc, "descr", "Tests the ATF_REQUIRE_STREQ and "
700 ATF_TC_BODY(require_streq, tc)
742 ATF_TC_HEAD(require_match, tc)
744 atf_tc_set_md_var(tc, "descr", "Tests the ATF_REQUIRE_MATCH and "
747 ATF_TC_BODY(require_match, tc)
791 ATF_TC_HEAD(msg_embedded_fmt, tc)
793 atf_tc_set_md_var(tc, "descr", "Tests that format strings passed "
797 ATF_TC_BODY(msg_embedded_fmt, tc)
845 ATF_TC_HEAD(detect_unused_tests, tc)
847 atf_tc_set_md_var(tc, "descr",
851 ATF_TC_BODY(detect_unused_tests, tc)
863 if (build_check_c_o_srcdir(tc, "unused_test.c"))