(self, test, result)
| 52 | self._send_result(test, result) |
| 53 | |
| 54 | def _needs_rerun(self, test, result): |
| 55 | # TODO(majeski): Limit reruns count for slow tests. |
| 56 | return ((self._rerun_total_left is None or self._rerun_total_left > 0) and |
| 57 | self._rerun[test.procid] < self._rerun_max and |
| 58 | result.has_unexpected_output) |
| 59 | |
| 60 | def _send_next_subtest(self, test, run=0): |
| 61 | subtest = test.create_subtest(self, str(run + 1), keep_output=(run != 0)) |