Lines Matching refs:tcr
276 test_case_result tcr;
279 tcr = read_test_case_result(resfile);
281 if (tcr.state() == "expected_timeout") {
282 return tcr;
292 test_case_result tcr;
295 tcr = read_test_case_result(resfile);
302 if (tcr.state() == "expected_death") {
303 return tcr;
304 } else if (tcr.state() == "expected_exit") {
305 if (tcr.value() == -1 || s.exitstatus() == tcr.value())
306 return tcr;
309 "expected to exit with a " + to_string(tcr.value()) +
311 } else if (tcr.state() == "expected_failure") {
313 return tcr;
317 } else if (tcr.state() == "expected_signal") {
320 } else if (tcr.state() == "failed") {
325 return tcr;
326 } else if (tcr.state() == "passed") {
328 return tcr;
332 } else if (tcr.state() == "skipped") {
334 return tcr;
340 test_case_result tcr;
343 tcr = read_test_case_result(resfile);
350 if (tcr.state() == "expected_death") {
351 return tcr;
352 } else if (tcr.state() == "expected_signal") {
353 if (tcr.value() == -1 || s.termsig() == tcr.value())
354 return tcr;
357 "expected to exit due to a " + to_string(tcr.value()) +
422 atf::fs::path resfile = resdir.get_path() / "tcr";
437 resfile = workdir.get_path() / "tcr";
451 impl::test_case_result tcr = get_test_case_result(s.first,
454 w.end_tc(tcr.state(), tcr.reason());
455 if (tcr.state() == "failed")