Match an assert.
(self, line, state, regex, group=1)
| 317 | state.crash_state = '%s in %s\n' % (failure_string, source_file) |
| 318 | |
| 319 | def match_assert(self, line, state, regex, group=1): |
| 320 | """Match an assert.""" |
| 321 | assert_match = self.update_state_on_match( |
| 322 | regex, line, state, new_type='ASSERT', new_frame_count=1) |
| 323 | if assert_match and assert_match.group(group): |
| 324 | # For asserts, we want to actually use the match as the crash state. |
| 325 | state.crash_state = assert_match.group(group) + '\n' |
| 326 | |
| 327 | def filter_crash_parameters(self, state): |
| 328 | """Normalize crash parameters into generic format regardless of the tool |
no test coverage detected