Home
last modified time | relevance | path

Searched refs:stderr_file (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/kyua/utils/
H A Dstacktrace_test.cpp382 ATF_REQUIRE( atf::utils::grep_file("#0", exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
384 ATF_REQUIRE( atf::utils::grep_file("#1", exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
409 exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
411 exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
413 exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
415 exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
417 exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
451 atf::utils::cat_file(exit_handle.stderr_file().str(), "stderr: "); in ATF_TEST_CASE_BODY()
453 exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
473 exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
[all …]
H A Dstacktrace.cpp295 std::ofstream gdb_err(exit_handle.stderr_file().c_str(), std::ios::app); in dump_stacktrace()
298 exit_handle.stderr_file()); in dump_stacktrace()
/freebsd/contrib/kyua/utils/process/
H A Dexecutor.cpp140 const fs::path stderr_file; member
180 stderr_file(stderr_file_), in impl()
255 executor::exec_handle::stderr_file(void) const in stderr_file() function in executor::exec_handle
257 return _pimpl->stderr_file; in stderr_file()
288 const fs::path stderr_file; member
341 stdout_file(stdout_file_), stderr_file(stderr_file_), in impl()
526 executor::exit_handle::stderr_file(void) const in stderr_file() function in executor::exit_handle
528 return _pimpl->stderr_file; in stderr_file()
675 if (!fs::exists(data.stderr_file())) { in post_wait()
676 std::ofstream new_stderr(data.stderr_file().c_str()); in post_wait()
[all …]
H A Dexecutor_test.cpp440 exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
465 const fs::path stderr_file = exit_handle.stderr_file(); in ATF_TEST_CASE_BODY() local
467 stderr_file.str(), "stderr: some other text\n")); in ATF_TEST_CASE_BODY()
471 ATF_REQUIRE(!fs::exists(stderr_file)); in ATF_TEST_CASE_BODY()
483 const fs::path stderr_file("custom-stderr.txt"); in ATF_TEST_CASE_BODY() local
488 utils::make_optional(stderr_file)); in ATF_TEST_CASE_BODY()
497 ATF_REQUIRE_EQ(stderr_file, exit_handle.stderr_file()); in ATF_TEST_CASE_BODY()
507 stderr_file.str(), "stderr: some other text\n")); in ATF_TEST_CASE_BODY()
552 ATF_REQUIRE(!atf::utils::file_exists(exit_handle.stderr_file().str())); in ATF_TEST_CASE_BODY()
572 ATF_REQUIRE_EQ(exit_1_handle.stderr_file(), exit_2_handle.stderr_file()); in ATF_TEST_CASE_BODY()
[all …]
H A Dchild.cpp257 const fs::path& stderr_file) in fork_files_aux() argument
278 if (stderr_file != fs::path("/dev/stderr")) { in fork_files_aux()
279 const int stderr_fd = open_for_append(stderr_file); in fork_files_aux()
290 stderr_file); in fork_files_aux()
342 const fs::path& stderr_file) in spawn_files() argument
344 std::auto_ptr< child > child = fork_files_aux(stdout_file, stderr_file); in spawn_files()
H A Dexecutor.hpp130 const utils::fs::path& stderr_file(void) const;
167 const utils::fs::path& stderr_file(void) const;
H A Dchild.ipp47 /// \param stderr_file The name of the file in which to store the stderr.
57 const fs::path& stderr_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.cpp689 result_handle->stderr_file().str())); in ATF_TEST_CASE_BODY()
762 const fs::path stderr_file = result_handle->stderr_file(); in ATF_TEST_CASE_BODY() local
764 stderr_file.str(), "stderr: print_params\n")); in ATF_TEST_CASE_BODY()
768 ATF_REQUIRE(!fs::exists(stderr_file)); in ATF_TEST_CASE_BODY()
982 result_handle->stderr_file().str())); in ATF_TEST_CASE_BODY()
1011 atf::utils::cat_file(result_handle->stderr_file().str(), "child stderr: "); in do_check_list_files_on_failure()
1012 ATF_REQUIRE(atf::utils::compare_file(result_handle->stderr_file().str(), in do_check_list_files_on_failure()
1079 const fs::path stderr_file("custom-stderr.txt"); in ATF_TEST_CASE_BODY() local
1082 program, "print_params", user_config, stdout_file, stderr_file); in ATF_TEST_CASE_BODY()
1095 ATF_REQUIRE(stderr_file != result_handle->stderr_file()); in ATF_TEST_CASE_BODY()
[all …]
H A Dscheduler.cpp809 scheduler::result_handle::stderr_file(void) const in stderr_file() function in scheduler::result_handle
811 return _pbimpl->generic.stderr_file(); in stderr_file()
1246 exit_handle.stderr_file()); in list_tests()
1390 handle.stderr_file()); in wait_any()
1396 handle.stderr_file()); in wait_any()
1577 *output << utils::read_file(result_handle->stderr_file()); in debug_test()
H A Datf_test.cpp154 atf::utils::cat_file(result_handle->stderr_file().str(), "stderr: "); in run_one()
159 ATF_REQUIRE(atf::utils::compare_file(result_handle->stderr_file().str(), in run_one()
H A Dscheduler.hpp209 const utils::fs::path& stderr_file(void) const;
H A Dplain_test.cpp103 atf::utils::cat_file(result_handle->stderr_file().str(), "stderr: "); in run_one()
H A Dtap_test.cpp103 atf::utils::cat_file(result_handle->stderr_file().str(), "stderr: "); in run_one()
/freebsd/contrib/kyua/drivers/
H A Drun_tests.cpp127 tx.put_test_case_file("__STDERR__", result.stderr_file(), test_case_id); in put_test_result()