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

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

Issue 2013133002: Avoid nesting steps called under waiting for x: (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Hiding changes behind optional parameter Created 4 years, 7 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 eac281d00f7592072c30d2c33c2a428948af9691..c5fb2cc8d93d65c0d111a9420be62228f68ddc0e 100644
--- a/scripts/slave/recipe_modules/auto_bisect/local_bisect.py
+++ b/scripts/slave/recipe_modules/auto_bisect/local_bisect.py
@@ -7,10 +7,10 @@ import collections
import json
-def perform_bisect(api): # pragma: no cover
+def perform_bisect(api, **flags): # pragma: no cover
bisect_config = api.m.properties.get('bisect_config')
assert isinstance(bisect_config, collections.Mapping)
- bisector = api.create_bisector(bisect_config)
+ bisector = api.create_bisector(bisect_config, **flags)
with api.m.step.nest('Gathering reference values'):
_gather_reference_range(api, bisector)
if (not bisector.failed and bisector.check_improvement_direction() and
« no previous file with comments | « scripts/slave/recipe_modules/auto_bisect/example.expected/windows_x64_bisector.json ('k') | scripts/slave/recipes/bisect.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698