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

Unified Diff: scripts/slave/recipe_modules/bisect_tester/perf_test.py

Issue 1899193003: Set CHROMIUM_OUTPUT_DIR when running the android-chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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/recipes/bisection/android_bisect.expected/basic_perf_tryjob_android_fyi_perf_bisect.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/bisect_tester/perf_test.py
diff --git a/scripts/slave/recipe_modules/bisect_tester/perf_test.py b/scripts/slave/recipe_modules/bisect_tester/perf_test.py
index 5cea5e7bd0915a962d2c811992a547dfdbb745dc..3042d6fe0dac402e69c8fc6d95175d81b8c88758 100644
--- a/scripts/slave/recipe_modules/bisect_tester/perf_test.py
+++ b/scripts/slave/recipe_modules/bisect_tester/perf_test.py
@@ -191,12 +191,20 @@ def _run_command(api, command, step_name):
command_parts = command.split()
stdout = api.m.raw_io.output()
stderr = api.m.raw_io.output()
+
+ # TODO(prasadv): Remove this once bisect runs are no longer running
+ # against revisions from February 2016 or earlier.
+ kwargs = {}
+ if 'android-chrome' in command: # pragma: no cover
+ kwargs['env'] = {'CHROMIUM_OUTPUT_DIR': api.m.chromium.output_dir}
+
try:
step_result = api.m.step(
step_name,
command_parts,
stdout=stdout,
- stderr=stderr)
+ stderr=stderr,
+ **kwargs)
step_result.presentation.logs['Captured Output'] = (
step_result.stdout or '').splitlines()
except api.m.step.StepFailure as sf:
« no previous file with comments | « no previous file | scripts/slave/recipes/bisection/android_bisect.expected/basic_perf_tryjob_android_fyi_perf_bisect.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698