Lines Matching defs:state
197 const std::string& state ATF_DEFS_ATTRIBUTE_UNUSED,
371 std::string state;
372 if (t.type() == expected_death_type) state = "expected_death";
373 else if (t.type() == expected_exit_type) state = "expected_exit";
374 else if (t.type() == expected_failure_type) state = "expected_failure";
375 else if (t.type() == expected_signal_type) state = "expected_signal";
376 else if (t.type() == expected_timeout_type) state = "expected_timeout";
377 else if (t.type() == failed_type) state = "failed";
378 else if (t.type() == skipped_type) state = "skipped";
384 throw parse_error(t.lineno(), "Empty reason for " + state +
386 ATF_PARSER_CALLBACK(p, got_tc_end(state, &s3, reason));