Lines Matching refs:tc
53 do_exec(const atf_tc_t *tc, const char *helper_name, atf_check_result_t *r)
58 get_process_helpers_path(tc, false, &process_helpers);
71 do_exec_with_arg(const atf_tc_t *tc, const char *helper_name, const char *arg,
77 get_process_helpers_path(tc, false, &process_helpers);
104 ATF_TC_HEAD(h_build_c_o_ok, tc)
106 atf_tc_set_md_var(tc, "descr", "Helper test case for build_c_o");
108 ATF_TC_BODY(h_build_c_o_ok, tc)
122 ATF_TC_HEAD(h_build_c_o_fail, tc)
124 atf_tc_set_md_var(tc, "descr", "Helper test case for build_c_o");
126 ATF_TC_BODY(h_build_c_o_fail, tc)
140 ATF_TC_HEAD(h_build_cpp_ok, tc)
142 atf_tc_set_md_var(tc, "descr", "Helper test case for build_cpp");
144 ATF_TC_BODY(h_build_cpp_ok, tc)
166 ATF_TC_HEAD(h_build_cpp_fail, tc)
168 atf_tc_set_md_var(tc, "descr", "Helper test case for build_cpp");
170 ATF_TC_BODY(h_build_cpp_fail, tc)
184 ATF_TC_HEAD(h_build_cxx_o_ok, tc)
186 atf_tc_set_md_var(tc, "descr", "Helper test case for build_cxx_o");
188 ATF_TC_BODY(h_build_cxx_o_ok, tc)
202 ATF_TC_HEAD(h_build_cxx_o_fail, tc)
204 atf_tc_set_md_var(tc, "descr", "Helper test case for build_cxx_o");
206 ATF_TC_BODY(h_build_cxx_o_fail, tc)
225 init_and_run_h_tc(atf_tc_t *tc, const atf_tc_pack_t *tcpack,
230 RE(atf_tc_init_pack(tc, tcpack, config));
231 run_h_tc(tc, outname, errname, "result");
232 atf_tc_fini(tc);
236 ATF_TC_HEAD(build_c_o, tc)
238 atf_tc_set_md_var(tc, "descr", "Checks the atf_check_build_c_o "
241 ATF_TC_BODY(build_c_o, tc)
257 ATF_TC_HEAD(build_cpp, tc)
259 atf_tc_set_md_var(tc, "descr", "Checks the atf_check_build_cpp "
262 ATF_TC_BODY(build_cpp, tc)
279 ATF_TC_HEAD(build_cxx_o, tc)
281 atf_tc_set_md_var(tc, "descr", "Checks the atf_check_build_cxx_o "
284 ATF_TC_BODY(build_cxx_o, tc)
300 ATF_TC_HEAD(exec_array, tc)
302 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
305 ATF_TC_BODY(exec_array, tc)
310 get_process_helpers_path(tc, false, &process_helpers);
336 ATF_TC_HEAD(exec_cleanup, tc)
338 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
341 ATF_TC_BODY(exec_cleanup, tc)
347 do_exec(tc, "exit-success", &result);
362 ATF_TC_HEAD(exec_exitstatus, tc)
364 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
368 ATF_TC_BODY(exec_exitstatus, tc)
372 do_exec(tc, "exit-success", &result);
381 do_exec(tc, "exit-failure", &result);
390 do_exec(tc, "exit-signal", &result);
399 ATF_TC_HEAD(exec_stdout_stderr, tc)
401 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
405 ATF_TC_BODY(exec_stdout_stderr, tc)
411 do_exec_with_arg(tc, "stdout-stderr", "result1", &result1);
415 do_exec_with_arg(tc, "stdout-stderr", "result2", &result2);
463 ATF_TC_HEAD(exec_umask, tc)
465 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
469 ATF_TC_BODY(exec_umask, tc)
475 get_process_helpers_path(tc, false, &process_helpers);
490 ATF_TC_HEAD(exec_unknown, tc)
492 atf_tc_set_md_var(tc, "descr", "Checks that running a non-existing "
495 ATF_TC_BODY(exec_unknown, tc)