/freebsd/contrib/kyua/utils/ |
H A D | stacktrace_test.cpp | 382 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 D | stacktrace.cpp | 295 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 D | executor.cpp | 140 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 D | executor_test.cpp | 440 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 D | child.cpp | 257 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 D | executor.hpp | 130 const utils::fs::path& stderr_file(void) const; 167 const utils::fs::path& stderr_file(void) const;
|
H A D | child.ipp | 47 /// \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 D | executor.ipp | 173 base.stdout_file(), base.stderr_file());
|
/freebsd/contrib/kyua/engine/ |
H A D | scheduler_test.cpp | 689 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 D | scheduler.cpp | 809 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 D | atf_test.cpp | 154 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 D | scheduler.hpp | 209 const utils::fs::path& stderr_file(void) const;
|
H A D | plain_test.cpp | 103 atf::utils::cat_file(result_handle->stderr_file().str(), "stderr: "); in run_one()
|
H A D | tap_test.cpp | 103 atf::utils::cat_file(result_handle->stderr_file().str(), "stderr: "); in run_one()
|
/freebsd/contrib/kyua/drivers/ |
H A D | run_tests.cpp | 127 tx.put_test_case_file("__STDERR__", result.stderr_file(), test_case_id); in put_test_result()
|