Commit 85eab771 authored by simonhatch's avatar simonhatch Committed by Commit bot

[bisect] - Bail early when bisecting return codes.

BUG=

Review URL: https://codereview.chromium.org/1069033002

Cr-Commit-Position: refs/heads/master@{#324091}
parent e40abfc5
...@@ -1364,6 +1364,9 @@ class BisectPerformanceMetrics(object): ...@@ -1364,6 +1364,9 @@ class BisectPerformanceMetrics(object):
break break
elif self._IsBisectModeReturnCode(): elif self._IsBisectModeReturnCode():
metric_values.append(return_code) metric_values.append(return_code)
# If there's a failed test, we can bail out early.
if return_code:
break
elapsed_minutes = (time.time() - start_time) / 60.0 elapsed_minutes = (time.time() - start_time) / 60.0
time_limit = self.opts.max_time_minutes * test_run_multiplier time_limit = self.opts.max_time_minutes * test_run_multiplier
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment