Index: tools/auto_bisect/bisect_results.py |
diff --git a/tools/auto_bisect/bisect_results.py b/tools/auto_bisect/bisect_results.py |
index 6a7c6e354aa069b123e0f247753e3ffc61ed751f..df93de6799577b361816e83bc3cf736d2a1ac55c 100644 |
--- a/tools/auto_bisect/bisect_results.py |
+++ b/tools/auto_bisect/bisect_results.py |
@@ -38,7 +38,7 @@ class BisectResults(object): |
""" |
def __init__(self, bisect_state=None, depot_registry=None, opts=None, |
- runtime_warnings=None, error=None): |
+ runtime_warnings=None, error=None, abort_reason=None): |
"""Computes final bisect results after a bisect run is complete. |
This constructor should be called in one of the following ways: |
@@ -58,7 +58,8 @@ class BisectResults(object): |
""" |
self.error = error |
- if error is not None: |
+ self.abort_reason = abort_reason |
+ if error is not None or abort_reason is not None: |
return |
assert (bisect_state is not None and depot_registry is not None and |