| 190 | self.expected_outcomes + [statusfile.TIMEOUT]) |
| 191 | |
| 192 | def allow_pass(self): |
| 193 | if self.expected_outcomes == outproc.OUTCOMES_TIMEOUT: |
| 194 | self._expected_outcomes = outproc.OUTCOMES_PASS_OR_TIMEOUT |
| 195 | elif self.expected_outcomes == outproc.OUTCOMES_FAIL: |
| 196 | self._expected_outcomes = outproc.OUTCOMES_FAIL_OR_PASS |
| 197 | elif statusfile.PASS not in self.expected_outcomes: |
| 198 | self._expected_outcomes = ( |
| 199 | self.expected_outcomes + [statusfile.PASS]) |
| 200 | |
| 201 | # TODO(jgruber): Due to flag contradiction logic complexity, we will never |
| 202 | # fully match the v8 logic here. What we should do instead is simply ask v8 |