Chromium Code Reviews| Index: build/android/test_runner.py |
| diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
| index 53034638742ff694f4221a01f97cdf63d0e7c563..b7f91be25ab9553ae38c2204585220364399e1f7 100755 |
| --- a/build/android/test_runner.py |
| +++ b/build/android/test_runner.py |
| @@ -57,6 +57,9 @@ def AddCommonOptions(option_parser): |
| const='Release', dest='build_type', |
| help=('If set, run test suites under out/Release.' |
| ' Default is env var BUILDTYPE or Debug.')) |
| + group.add_option('--build-directory', dest='build_directory', |
| + help=('Path to the directory under which build files' |
|
jbudorick
2014/10/08 18:20:57
Nit: I'd probably phrase this as "Path to the dire
|
| + ' are kept (should not include configuration)')) |
| group.add_option('-c', dest='cleanup_test_files', |
| help='Cleanup test files on the device after run', |
| action='store_true') |
| @@ -93,6 +96,8 @@ def ProcessCommonOptions(options): |
| """Processes and handles all common options.""" |
| run_tests_helper.SetLogLevel(options.verbose_count) |
| constants.SetBuildType(options.build_type) |
| + if options.build_directory: |
| + constants.SetBuildDirectory(options.build_directory) |
| def AddGTestOptions(option_parser): |