Lines Matching defs:tc
48 do_exec(const atf_tc_t *tc, const char *helper_name, atf_check_result_t *r)
53 get_process_helpers_path(tc, false, &process_helpers);
66 do_exec_with_arg(const atf_tc_t *tc, const char *helper_name, const char *arg,
72 get_process_helpers_path(tc, false, &process_helpers);
99 ATF_TC_HEAD(h_build_c_o_ok, tc)
101 atf_tc_set_md_var(tc, "descr", "Helper test case for build_c_o");
103 ATF_TC_BODY(h_build_c_o_ok, tc)
117 ATF_TC_HEAD(h_build_c_o_fail, tc)
119 atf_tc_set_md_var(tc, "descr", "Helper test case for build_c_o");
121 ATF_TC_BODY(h_build_c_o_fail, tc)
135 ATF_TC_HEAD(h_build_cpp_ok, tc)
137 atf_tc_set_md_var(tc, "descr", "Helper test case for build_cpp");
139 ATF_TC_BODY(h_build_cpp_ok, tc)
161 ATF_TC_HEAD(h_build_cpp_fail, tc)
163 atf_tc_set_md_var(tc, "descr", "Helper test case for build_cpp");
165 ATF_TC_BODY(h_build_cpp_fail, tc)
179 ATF_TC_HEAD(h_build_cxx_o_ok, tc)
181 atf_tc_set_md_var(tc, "descr", "Helper test case for build_cxx_o");
183 ATF_TC_BODY(h_build_cxx_o_ok, tc)
197 ATF_TC_HEAD(h_build_cxx_o_fail, tc)
199 atf_tc_set_md_var(tc, "descr", "Helper test case for build_cxx_o");
201 ATF_TC_BODY(h_build_cxx_o_fail, tc)
220 init_and_run_h_tc(atf_tc_t *tc, const atf_tc_pack_t *tcpack,
225 RE(atf_tc_init_pack(tc, tcpack, config));
226 run_h_tc(tc, outname, errname, "result");
227 atf_tc_fini(tc);
231 ATF_TC_HEAD(build_c_o, tc)
233 atf_tc_set_md_var(tc, "descr", "Checks the atf_check_build_c_o "
236 ATF_TC_BODY(build_c_o, tc)
252 ATF_TC_HEAD(build_cpp, tc)
254 atf_tc_set_md_var(tc, "descr", "Checks the atf_check_build_cpp "
257 ATF_TC_BODY(build_cpp, tc)
274 ATF_TC_HEAD(build_cxx_o, tc)
276 atf_tc_set_md_var(tc, "descr", "Checks the atf_check_build_cxx_o "
279 ATF_TC_BODY(build_cxx_o, tc)
295 ATF_TC_HEAD(exec_array, tc)
297 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
300 ATF_TC_BODY(exec_array, tc)
305 get_process_helpers_path(tc, false, &process_helpers);
331 ATF_TC_HEAD(exec_cleanup, tc)
333 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
336 ATF_TC_BODY(exec_cleanup, tc)
342 do_exec(tc, "exit-success", &result);
357 ATF_TC_HEAD(exec_exitstatus, tc)
359 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
363 ATF_TC_BODY(exec_exitstatus, tc)
367 do_exec(tc, "exit-success", &result);
376 do_exec(tc, "exit-failure", &result);
385 do_exec(tc, "exit-signal", &result);
394 ATF_TC_HEAD(exec_stdout_stderr, tc)
396 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
400 ATF_TC_BODY(exec_stdout_stderr, tc)
406 do_exec_with_arg(tc, "stdout-stderr", "result1", &result1);
410 do_exec_with_arg(tc, "stdout-stderr", "result2", &result2);
458 ATF_TC_HEAD(exec_umask, tc)
460 atf_tc_set_md_var(tc, "descr", "Checks that atf_check_exec_array "
464 ATF_TC_BODY(exec_umask, tc)
470 get_process_helpers_path(tc, false, &process_helpers);
485 ATF_TC_HEAD(exec_unknown, tc)
487 atf_tc_set_md_var(tc, "descr", "Checks that running a non-existing "
490 ATF_TC_BODY(exec_unknown, tc)