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

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

Issue 1149013006: Execute the script using python api module. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/auto_bisect/example.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/auto_bisect/api.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/api.py b/scripts/slave/recipe_modules/auto_bisect/api.py
index 274a82f458a350f2de964b53da2e4dee0d15dbee..bcf8d563250c6fb137985e623a02b46fa5609f05 100644
--- a/scripts/slave/recipe_modules/auto_bisect/api.py
+++ b/scripts/slave/recipe_modules/auto_bisect/api.py
@@ -110,11 +110,11 @@ class AutoBisectApi(recipe_api.RecipeApi):
the bisect script will use this to override the default config file
path.
"""
- self.m.step(
+ self.m.python(
'Preparing for Bisection',
- [self.m.path['checkout'].join('tools',
- 'prepare-bisect-perf-regression.py'),
- '-w', self.m.path['slave_build']])
+ script=self.m.path['checkout'].join(
+ 'tools', 'prepare-bisect-perf-regression.py'),
+ args=['-w', self.m.path['slave_build']])
args = []
kwargs['allow_subannotations'] = True
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/auto_bisect/example.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698