Lines Matching refs:test_data

916             const test_exec_data* test_data = *iter;  in ~impl()  local
919 sync_cleanup(test_data); in ~impl()
923 % test_data->test_program->relative_path() in ~impl()
924 % test_data->test_case_name); in ~impl()
932 const test_exec_data* test_data = *iter; in ~impl() local
935 sync_execenv_cleanup(test_data); in ~impl()
939 % test_data->test_program->relative_path() in ~impl()
940 % test_data->test_case_name); in ~impl()
959 test_exec_data* test_data = &dynamic_cast< test_exec_data& >( in tests_needing_cleanup() local
961 if (test_data->needs_cleanup) { in tests_needing_cleanup()
962 tests_data.push_back(test_data); in tests_needing_cleanup()
963 test_data->needs_cleanup = false; in tests_needing_cleanup()
964 if (!test_data->exit_handle) in tests_needing_cleanup()
965 test_data->exit_handle = generic.reap(test_data->pid); in tests_needing_cleanup()
990 test_exec_data* test_data = &dynamic_cast< test_exec_data& >( in tests_needing_execenv_cleanup() local
992 if (test_data->needs_execenv_cleanup) { in tests_needing_execenv_cleanup()
993 tests_data.push_back(test_data); in tests_needing_execenv_cleanup()
994 test_data->needs_execenv_cleanup = false; in tests_needing_execenv_cleanup()
995 if (!test_data->exit_handle) in tests_needing_execenv_cleanup()
996 test_data->exit_handle = generic.reap(test_data->pid); in tests_needing_execenv_cleanup()
1011 sync_cleanup(const test_exec_data* test_data) in sync_cleanup()
1020 test_data->test_program, test_data->test_case_name, in sync_cleanup()
1021 test_data->user_config, test_data->exit_handle.get(), in sync_cleanup()
1073 sync_execenv_cleanup(const test_exec_data* test_data) in sync_execenv_cleanup()
1082 test_data->test_program, test_data->test_case_name, in sync_execenv_cleanup()
1083 test_data->exit_handle.get(), result); in sync_execenv_cleanup()
1351 test_exec_data* test_data = &dynamic_cast< test_exec_data& >( in wait_any() local
1355 test_data->exit_handle = handle; in wait_any()
1357 const model::test_case& test_case = test_data->test_program->find( in wait_any()
1358 test_data->test_case_name); in wait_any()
1384 test_data->needs_cleanup = false; in wait_any()
1385 test_data->needs_execenv_cleanup = false; in wait_any()
1389 result = test_data->interface->compute_result( in wait_any()
1404 debugger->before_cleanup(test_data->test_program, test_case, in wait_any()
1407 debugger->upon_test_failure(test_data->test_program, test_case, in wait_any()
1411 if (test_data->needs_cleanup) { in wait_any()
1417 _pimpl->spawn_cleanup(test_data->test_program, in wait_any()
1418 test_data->test_case_name, in wait_any()
1419 test_data->user_config, handle, result.get()); in wait_any()
1429 if (test_data->needs_execenv_cleanup) { in wait_any()
1431 _pimpl->spawn_execenv_cleanup(test_data->test_program, in wait_any()
1432 test_data->test_case_name, in wait_any()
1434 test_data->needs_execenv_cleanup = false; in wait_any()
1486 test_exec_data* test_data = &dynamic_cast< test_exec_data& >( in wait_any() local
1490 test_data->needs_cleanup = false; in wait_any()
1492 if (test_data->needs_execenv_cleanup) { in wait_any()
1497 test_data->needs_execenv_cleanup = false; in wait_any()