Searched refs:exec_handle (Results 1 – 12 of 12) sorted by relevance
/freebsd/contrib/kyua/utils/process/ |
H A D | executor.cpp | 89 typedef std::map< int, executor::exec_handle > exec_handles_map; 129 struct utils::process::executor::exec_handle::impl : utils::noncopyable { 195 executor::exec_handle::exec_handle(std::shared_ptr< impl > pimpl) : in exec_handle() function in executor::exec_handle 202 executor::exec_handle::~exec_handle(void) in ~exec_handle() 211 executor::exec_handle::pid(void) const in pid() 223 executor::exec_handle::control_directory(void) const in control_directory() 235 executor::exec_handle::work_directory(void) const in work_directory() 245 executor::exec_handle::stdout_file(void) const in stdout_file() 255 executor::exec_handle::stderr_file(void) const in stderr_file() 553 std::forward_list<exec_handle> stale_exec_handles; [all …]
|
H A D | executor.hpp | 114 class exec_handle { class 121 exec_handle(std::shared_ptr< impl >); 124 ~exec_handle(void); 185 exec_handle spawn_post(const utils::fs::path&, 193 exec_handle spawn_followup_post(const exit_handle&, 205 exec_handle spawn(Hook, 212 exec_handle spawn_followup(Hook, 216 exit_handle wait(const exec_handle);
|
H A D | executor_test.cpp | 314 static executor::exec_handle 321 const executor::exec_handle exec_handle = handle.spawn< Hook >( in do_spawn() local 323 return exec_handle; in do_spawn() 383 const executor::exec_handle exec_handle = do_spawn(handle, child_exit(41)); in ATF_TEST_CASE_BODY() local 386 ATF_REQUIRE_EQ(exec_handle.pid(), exit_handle.original_pid()); in ATF_TEST_CASE_BODY() 454 const executor::exec_handle exec_handle = do_spawn(handle, child_print); in ATF_TEST_CASE_BODY() local 458 ATF_REQUIRE_EQ(exec_handle.pid(), exit_handle.original_pid()); in ATF_TEST_CASE_BODY() 485 const executor::exec_handle exec_handle = do_spawn( in ATF_TEST_CASE_BODY() local 492 ATF_REQUIRE_EQ(exec_handle.pid(), exit_handle.original_pid()); in ATF_TEST_CASE_BODY() 631 const executor::exec_handle exec_handle = in ATF_TEST_CASE_BODY() local [all …]
|
H A D | executor_fwd.hpp | 40 class exec_handle;
|
H A D | executor.ipp | 117 executor::exec_handle 161 executor::exec_handle
|
/freebsd/contrib/kyua/engine/ |
H A D | scheduler_test.cpp | 573 const scheduler::exec_handle exec_handle = handle.spawn_test( in ATF_TEST_CASE_BODY() local 580 ATF_REQUIRE_EQ(exec_handle, result_handle->original_pid()); in ATF_TEST_CASE_BODY() 605 std::map< scheduler::exec_handle, model::test_program_ptr > in ATF_TEST_CASE_BODY() 607 std::map< scheduler::exec_handle, std::string > exp_test_case_names; in ATF_TEST_CASE_BODY() 608 std::map< scheduler::exec_handle, datetime::timestamp > exp_start_times; in ATF_TEST_CASE_BODY() 609 std::map< scheduler::exec_handle, int > exp_exit_statuses; in ATF_TEST_CASE_BODY() 627 scheduler::exec_handle exec_handle; in ATF_TEST_CASE_BODY() local 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() 632 exp_test_case_names.insert(std::make_pair(exec_handle, test_case_0)); in ATF_TEST_CASE_BODY() [all …]
|
H A D | scheduler.cpp | 1018 const executor::exec_handle cleanup_handle = spawn_cleanup( in sync_cleanup() 1036 executor::exec_handle 1051 const executor::exec_handle handle = generic.spawn_followup( in spawn_cleanup() 1080 const executor::exec_handle cleanup_handle = spawn_execenv_cleanup( in sync_execenv_cleanup() 1096 executor::exec_handle 1107 const executor::exec_handle handle = generic.spawn_followup( in spawn_execenv_cleanup() 1238 const executor::exec_handle exec_handle = _pimpl->generic.spawn( in list_tests() local 1241 executor::exit_handle exit_handle = _pimpl->generic.wait(exec_handle); in list_tests() 1281 scheduler::exec_handle 1303 const executor::exec_handle handle = _pimpl->generic.spawn( in spawn_test() [all …]
|
H A D | scheduler_fwd.hpp | 45 typedef int exec_handle; typedef
|
H A D | scheduler.hpp | 249 exec_handle spawn_test(const model::test_program_ptr,
|
/freebsd/contrib/kyua/utils/ |
H A D | stacktrace_test.cpp | 199 const executor::exec_handle exec_handle = executor_handle.spawn( in generate_core() local 201 const executor::exit_handle exit_handle = executor_handle.wait(exec_handle); in generate_core() 562 const executor::exec_handle exec_handle = handle.spawn( in ATF_TEST_CASE_BODY() local 564 executor::exit_handle exit_handle = handle.wait(exec_handle); in ATF_TEST_CASE_BODY() 580 const executor::exec_handle exec_handle = handle.spawn( in ATF_TEST_CASE_BODY() local 582 executor::exit_handle exit_handle = handle.wait(exec_handle); in ATF_TEST_CASE_BODY()
|
H A D | stacktrace.cpp | 321 const executor::exec_handle exec_handle = in dump_stacktrace() local 326 executor_handle.wait(exec_handle); in dump_stacktrace()
|
/freebsd/contrib/kyua/drivers/ |
H A D | run_tests.cpp | 182 const scheduler::exec_handle exec_handle = handle.spawn_test( in start_test() local 184 return std::make_pair(exec_handle, test_case_id); in start_test()
|