Lines Matching full:program
171 /// \param exit_code Exit status to terminate the program with.
189 /// \param test_program The test program to execute.
192 /// \param vars User-provided variables to pass to the test program.
199 std::cout << F("Test program: %s\n") % test_program.relative_path(); in exec_print_params()
212 /// Executes a test program's list operation.
215 /// to terminate execution either by exec(2)ing the test program or by
218 /// \param test_program The test program to execute.
219 /// \param vars User-provided variables to pass to the test program.
257 /// Computes the test cases list of a test program.
300 /// Executes a test case of the test program.
303 /// to terminate execution either by exec(2)ing the test program or by
306 /// \param test_program The test program to execute.
308 /// \param vars User-provided variables to pass to the test program.
354 /// Executes a test cleanup routine of the test program.
357 /// to terminate execution either by exec(2)ing the test program or by
472 const model::test_program program = model::test_program_builder( in check_integration_list() local
477 const model::test_cases_map test_cases = handle.list_tests(&program, in check_integration_list()
565 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY() local
566 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY()
574 program, "exit 41", user_config); in ATF_TEST_CASE_BODY()
615 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY() local
616 "mock", fs::path(F("program-%s") % i), in ATF_TEST_CASE_BODY()
630 exec_handle = handle.spawn_test(program, test_case_0, user_config); in ATF_TEST_CASE_BODY()
631 exp_test_programs.insert(std::make_pair(exec_handle, program)); in ATF_TEST_CASE_BODY()
638 exec_handle = handle.spawn_test(program, test_case_1, user_config); in ATF_TEST_CASE_BODY()
639 exp_test_programs.insert(std::make_pair(exec_handle, program)); in ATF_TEST_CASE_BODY()
646 exec_handle = handle.spawn_test(program, test_case_2, user_config); in ATF_TEST_CASE_BODY()
647 exp_test_programs.insert(std::make_pair(exec_handle, program)); in ATF_TEST_CASE_BODY()
704 atf::utils::create_file("dir1/dir2/dir3/program", ""); in ATF_TEST_CASE_BODY()
706 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY() local
707 "mock", fs::path("dir2/dir3/program"), fs::path("dir1"), "the-suite") in ATF_TEST_CASE_BODY()
712 (void)handle.spawn_test(program, "check_i_exist", engine::default_config()); in ATF_TEST_CASE_BODY()
731 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY() local
732 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY()
742 program, "print_params", user_config); in ATF_TEST_CASE_BODY()
750 ATF_REQUIRE_EQ(program, test_result_handle->test_program()); in ATF_TEST_CASE_BODY()
758 "Test program: the-program\n" in ATF_TEST_CASE_BODY()
785 const model::test_program_ptr program(new model::test_program( in ATF_TEST_CASE_BODY() local
786 "mock", fs::path("the-program"), fs::current_path(), "the-suite", in ATF_TEST_CASE_BODY()
793 (void)handle.spawn_test(program, "__fake__", user_config); in ATF_TEST_CASE_BODY()
810 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY() local
811 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY()
823 (void)handle.spawn_test(program, "skip_me", user_config); in ATF_TEST_CASE_BODY()
851 const model::test_program_ptr program = model::test_program_builder( in do_cleanup_test() local
852 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in do_cleanup_test()
861 (void)handle.spawn_test(program, test_case, user_config); in do_cleanup_test()
929 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY() local
930 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY()
940 (void)handle.spawn_test(program, "exit 12", user_config); in ATF_TEST_CASE_BODY()
962 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY() local
963 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY()
970 (void)handle.spawn_test(program, "unknown-dumps-core", user_config); in ATF_TEST_CASE_BODY()
997 const model::test_program_ptr program = model::test_program_builder( in do_check_list_files_on_failure() local
998 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in do_check_list_files_on_failure()
1005 (void)handle.spawn_test(program, test_case, user_config); in do_check_list_files_on_failure()
1042 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY() local
1043 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY()
1050 (void)handle.spawn_test(program, "delete_all", user_config); in ATF_TEST_CASE_BODY()
1068 const model::test_program_ptr program = model::test_program_builder( in ATF_TEST_CASE_BODY() local
1069 "mock", fs::path("the-program"), fs::current_path(), "the-suite") in ATF_TEST_CASE_BODY()
1082 program, "print_params", user_config, stdout_file, stderr_file); in ATF_TEST_CASE_BODY()
1087 ATF_REQUIRE_EQ(program, test_result_handle->test_program()); in ATF_TEST_CASE_BODY()
1104 "Test program: the-program\n" in ATF_TEST_CASE_BODY()