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

Unified Diff: build/android/test_runner.py

Issue 558883003: [Android] Allow instrumentation test skipping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « build/android/pylib/instrumentation/test_runner_test.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 8a4b9fa4c8a791dac67e665c21e666ffb43adf05..e43e7219d96e28c4752a2ca27e6490c4c1de2bef 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -175,21 +175,21 @@ def AddJavaTestOptions(option_parser):
'-E', '--exclude-annotation', dest='exclude_annotation_str',
help=('Comma-separated list of annotations. Exclude tests with these '
'annotations.'))
- option_parser.add_option('--screenshot', dest='screenshot_failures',
- action='store_true',
- help='Capture screenshots of test failures')
- option_parser.add_option('--save-perf-json', action='store_true',
- help='Saves the JSON file for each UI Perf test.')
- option_parser.add_option('--official-build', action='store_true',
- help='Run official build tests.')
- option_parser.add_option('--test_data', action='append', default=[],
- help=('Each instance defines a directory of test '
- 'data that should be copied to the target(s) '
- 'before running the tests. The argument '
- 'should be of the form <target>:<source>, '
- '<target> is relative to the device data'
- 'directory, and <source> is relative to the '
- 'chromium build directory.'))
+ option_parser.add_option(
+ '--screenshot', dest='screenshot_failures', action='store_true',
+ help='Capture screenshots of test failures')
+ option_parser.add_option(
+ '--save-perf-json', action='store_true',
+ help='Saves the JSON file for each UI Perf test.')
+ option_parser.add_option(
+ '--official-build', action='store_true', help='Run official build tests.')
+ option_parser.add_option(
+ '--test_data', '--test-data', action='append', default=[],
+ help=('Each instance defines a directory of test data that should be '
+ 'copied to the target(s) before running the tests. The argument '
+ 'should be of the form <target>:<source>, <target> is relative to '
+ 'the device data directory, and <source> is relative to the '
+ 'chromium build directory.'))
def ProcessJavaTestOptions(options):
« no previous file with comments | « build/android/pylib/instrumentation/test_runner_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698