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

Unified Diff: scripts/slave/runtest.py

Issue 1721653003: Make sure CHROMIUM_OUTPUT_DIR is set from runtest.py (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: android only Created 4 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/runtest.py
diff --git a/scripts/slave/runtest.py b/scripts/slave/runtest.py
index bd244c48651ef330d08ffbbeacf6b502571469e4..f2c0d4978c99a77c21a62a4f3983edf2776cba14 100755
--- a/scripts/slave/runtest.py
+++ b/scripts/slave/runtest.py
@@ -1516,6 +1516,9 @@ def _MainAndroid(options, args, extra_env):
Returns:
Exit status code.
"""
+ if not os.environ.get('CHROMIUM_OUTPUT_DIR') and options.target:
+ extra_env['CHROMIUM_OUTPUT_DIR'] = (
+ os.path.abspath(os.path.join(options.build_dir, options.target)))
if options.run_python_script:
return _MainLinux(options, args, extra_env)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698