Home
last modified time | relevance | path

Searched refs:stdout_file (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/kyua/utils/process/
H A Dexecutor.cpp137 const fs::path stdout_file; member
179 stdout_file(stdout_file_), in impl()
245 executor::exec_handle::stdout_file(void) const in stdout_file() function in executor::exec_handle
247 return _pimpl->stdout_file; in stdout_file()
285 const fs::path stdout_file; member
341 stdout_file(stdout_file_), stderr_file(stderr_file_), in impl()
516 executor::exit_handle::stdout_file(void) const in stdout_file() function in executor::exit_handle
518 return _pimpl->stdout_file; in stdout_file()
672 if (!fs::exists(data.stdout_file())) { in post_wait()
673 std::ofstream new_stdout(data.stdout_file().c_str()); in post_wait()
[all …]
H A Dexecutor_test.cpp438 exit_handle.stdout_file().str())); in ATF_TEST_CASE_BODY()
462 const fs::path stdout_file = exit_handle.stdout_file(); in ATF_TEST_CASE_BODY() local
464 stdout_file.str(), "stdout: some text\n")); in ATF_TEST_CASE_BODY()
470 ATF_REQUIRE(!fs::exists(stdout_file)); in ATF_TEST_CASE_BODY()
482 const fs::path stdout_file("custom-stdout.txt"); in ATF_TEST_CASE_BODY() local
487 utils::make_optional(stdout_file), in ATF_TEST_CASE_BODY()
496 ATF_REQUIRE_EQ(stdout_file, exit_handle.stdout_file()); in ATF_TEST_CASE_BODY()
505 stdout_file.str(), "stdout: some text\n")); in ATF_TEST_CASE_BODY()
551 ATF_REQUIRE(!atf::utils::file_exists(exit_handle.stdout_file().str())); in ATF_TEST_CASE_BODY()
571 ATF_REQUIRE_EQ(exit_1_handle.stdout_file(), exit_2_handle.stdout_file()); in ATF_TEST_CASE_BODY()
[all …]
H A Dchild.cpp256 process::child::fork_files_aux(const fs::path& stdout_file, in fork_files_aux() argument
273 if (stdout_file != fs::path("/dev/stdout")) { in fork_files_aux()
274 const int stdout_fd = open_for_append(stdout_file); in fork_files_aux()
289 LD(F("Spawned process %s: stdout=%s, stderr=%s") % pid % stdout_file % in fork_files_aux()
341 const fs::path& stdout_file, in spawn_files() argument
344 std::auto_ptr< child > child = fork_files_aux(stdout_file, stderr_file); in spawn_files()
H A Dexecutor.hpp129 const utils::fs::path& stdout_file(void) const;
166 const utils::fs::path& stdout_file(void) const;
H A Dchild.ipp46 /// \param stdout_file The name of the file in which to store the stdout.
56 child::fork_files(Hook hook, const fs::path& stdout_file,
59 std::auto_ptr< child > child = fork_files_aux(stdout_file, stderr_file);
H A Dexecutor.ipp173 base.stdout_file(), base.stderr_file());
/freebsd/contrib/kyua/engine/
H A Dscheduler_test.cpp687 result_handle->stdout_file().str())); in ATF_TEST_CASE_BODY()
755 const fs::path stdout_file = result_handle->stdout_file(); in ATF_TEST_CASE_BODY() local
757 stdout_file.str(), in ATF_TEST_CASE_BODY()
767 ATF_REQUIRE(!fs::exists(stdout_file)); in ATF_TEST_CASE_BODY()
835 result_handle->stdout_file().str())); in ATF_TEST_CASE_BODY()
869 result_handle->stdout_file().str(), in do_cleanup_test()
980 result_handle->stdout_file().str())); in ATF_TEST_CASE_BODY()
1008 atf::utils::cat_file(result_handle->stdout_file().str(), "child stdout: "); in do_check_list_files_on_failure()
1009 ATF_REQUIRE(atf::utils::compare_file(result_handle->stdout_file().str(), in do_check_list_files_on_failure()
1078 const fs::path stdout_file("custom-stdout.txt"); in ATF_TEST_CASE_BODY() local
[all …]
H A Dscheduler.cpp799 scheduler::result_handle::stdout_file(void) const in stdout_file() function in scheduler::result_handle
801 return _pbimpl->generic.stdout_file(); in stdout_file()
1245 exit_handle.stdout_file(), in list_tests()
1389 handle.stdout_file(), in wait_any()
1572 *output << utils::read_file(result_handle->stdout_file()); in debug_test()
H A Datf_test.cpp153 atf::utils::cat_file(result_handle->stdout_file().str(), "stdout: "); in run_one()
157 ATF_REQUIRE(atf::utils::compare_file(result_handle->stdout_file().str(), in run_one()
H A Dscheduler.hpp208 const utils::fs::path& stdout_file(void) const;
H A Dplain_test.cpp102 atf::utils::cat_file(result_handle->stdout_file().str(), "stdout: "); in run_one()
H A Dtap_test.cpp102 atf::utils::cat_file(result_handle->stdout_file().str(), "stdout: "); in run_one()
/freebsd/contrib/kyua/utils/
H A Dstacktrace_test.cpp381 ATF_REQUIRE(!atf::utils::grep_file("#0", exit_handle.stdout_file().str())); in ATF_TEST_CASE_BODY()
383 ATF_REQUIRE(!atf::utils::grep_file("#1", exit_handle.stdout_file().str())); in ATF_TEST_CASE_BODY()
450 atf::utils::cat_file(exit_handle.stdout_file().str(), "stdout: "); in ATF_TEST_CASE_BODY()
541 atf::utils::create_file(exit_handle.stdout_file().str(), "Pre-stdout"); in ATF_TEST_CASE_BODY()
547 exit_handle.stdout_file().str())); in ATF_TEST_CASE_BODY()
568 ATF_REQUIRE(atf::utils::compare_file(exit_handle.stdout_file().str(), "")); in ATF_TEST_CASE_BODY()
588 ATF_REQUIRE(atf::utils::compare_file(exit_handle.stdout_file().str(), "")); in ATF_TEST_CASE_BODY()
/freebsd/contrib/kyua/drivers/
H A Drun_tests.cpp126 tx.put_test_case_file("__STDOUT__", result.stdout_file(), test_case_id); in put_test_result()