Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: scripts/slave/recipe_modules/auto_bisect/local_bisect.py

Issue 1573293002: Change auto_bisect to post results to perf dashboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: . Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/auto_bisect/local_bisect.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/local_bisect.py b/scripts/slave/recipe_modules/auto_bisect/local_bisect.py
index 2821207648911369348ea4666853e9b80d610e0c..c17a3a4868ef79672387acaeea450ebbfb1496dc 100644
--- a/scripts/slave/recipe_modules/auto_bisect/local_bisect.py
+++ b/scripts/slave/recipe_modules/auto_bisect/local_bisect.py
@@ -26,7 +26,7 @@ def perform_bisect(api): # pragma: no cover
else:
bisector.bisect_over = True
bisector.print_result_debug_info()
- bisector.print_result()
+ bisector.post_result(halt_on_failure=True)
def _gather_reference_range(api, bisector): # pragma: no cover
@@ -65,9 +65,7 @@ def _bisect_main_loop(bisector): # pragma: no cover
completed_revisions = []
with bisector.api.m.step.nest(str('Working on revision ' +
revisions_to_check[0].revision_string)):
- nest_step_result = bisector.api.m.step.active_result
- partial_results = bisector.partial_results().splitlines()
- nest_step_result.presentation.logs['Partial Results'] = partial_results
+ bisector.post_result(halt_on_failure=False)
for r in revisions_to_check:
r.start_job()
completed_revisions = _wait_for_revisions(bisector, revisions_to_check)
« no previous file with comments | « scripts/slave/recipe_modules/auto_bisect/bisector.py ('k') | scripts/slave/recipe_modules/perf_try/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698