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

Unified Diff: build/android/test_runner.py

Issue 144093008: Add --out-dir command line option to test_runner.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add an --out-dir command line flag. Created 6 years, 11 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
« build/android/pylib/constants.py ('K') | « build/android/pylib/constants.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index a87474c0542cc183914886524baf6652f490151c..2cccc19f1bafa60b527630ed556a5b93fe46c780 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -84,6 +84,9 @@ def AddCommonOptions(option_parser):
group.add_option('-d', '--device', dest='test_device',
help=('Target device for the test suite '
'to run on.'))
+ group.add_option('--out-dir', dest='out_directory',
frankf 2014/01/23 00:54:36 let's move this up to after --release option above
+ help=('Directory in which the output binaries are'
+ ' located.'))
option_parser.add_option_group(group)
@@ -91,6 +94,8 @@ def ProcessCommonOptions(options):
"""Processes and handles all common options."""
run_tests_helper.SetLogLevel(options.verbose_count)
constants.SetBuildType(options.build_type)
+ if (options.out_directory):
+ constants.SetOutDirectory(options.out_directory)
def AddGTestOptions(option_parser):
« build/android/pylib/constants.py ('K') | « build/android/pylib/constants.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698