Lines Matching refs:test_data
915 const test_exec_data* test_data = *iter;
918 sync_cleanup(test_data);
922 % test_data->test_program->relative_path()
923 % test_data->test_case_name);
931 const test_exec_data* test_data = *iter;
934 sync_execenv_cleanup(test_data);
938 % test_data->test_program->relative_path()
939 % test_data->test_case_name);
958 test_exec_data* test_data = &dynamic_cast< test_exec_data& >(
960 if (test_data->needs_cleanup) {
961 tests_data.push_back(test_data);
962 test_data->needs_cleanup = false;
963 if (!test_data->exit_handle)
964 test_data->exit_handle = generic.reap(test_data->pid);
989 test_exec_data* test_data = &dynamic_cast< test_exec_data& >(
991 if (test_data->needs_execenv_cleanup) {
992 tests_data.push_back(test_data);
993 test_data->needs_execenv_cleanup = false;
994 if (!test_data->exit_handle)
995 test_data->exit_handle = generic.reap(test_data->pid);
1007 /// \param test_data The data of the previously executed test case to be
1010 sync_cleanup(const test_exec_data* test_data)
1019 test_data->test_program, test_data->test_case_name,
1020 test_data->user_config, test_data->exit_handle.get(),
1069 /// \param test_data The data of the previously executed test case to be
1072 sync_execenv_cleanup(const test_exec_data* test_data)
1081 test_data->test_program, test_data->test_case_name,
1082 test_data->exit_handle.get(), result);
1348 test_exec_data* test_data = &dynamic_cast< test_exec_data& >(
1352 test_data->exit_handle = handle;
1354 const model::test_case& test_case = test_data->test_program->find(
1355 test_data->test_case_name);
1381 test_data->needs_cleanup = false;
1382 test_data->needs_execenv_cleanup = false;
1386 result = test_data->interface->compute_result(
1399 if (test_data->needs_cleanup) {
1404 _pimpl->spawn_cleanup(test_data->test_program,
1405 test_data->test_case_name,
1406 test_data->user_config, handle, result.get());
1416 if (test_data->needs_execenv_cleanup) {
1418 _pimpl->spawn_execenv_cleanup(test_data->test_program,
1419 test_data->test_case_name,
1421 test_data->needs_execenv_cleanup = false;
1473 test_exec_data* test_data = &dynamic_cast< test_exec_data& >(
1477 test_data->needs_cleanup = false;
1479 if (test_data->needs_execenv_cleanup) {
1484 test_data->needs_execenv_cleanup = false;