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

Unified Diff: build/android/pylib/utils/test_options_parser.py

Issue 13956018: Android: Make number of test retries configurable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « build/android/pylib/instrumentation/dispatch.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/utils/test_options_parser.py
diff --git a/build/android/pylib/utils/test_options_parser.py b/build/android/pylib/utils/test_options_parser.py
index 98e5c1521d35376b6e98393fcff3e6dc8f306f0a..34f89edd53c5dc3c186de329c940f46ad5ce2bd5 100644
--- a/build/android/pylib/utils/test_options_parser.py
+++ b/build/android/pylib/utils/test_options_parser.py
@@ -64,6 +64,10 @@ def AddTestRunnerOptions(option_parser, default_timeout=60):
option_parser.add_option('-c', dest='cleanup_test_files',
help='Cleanup test files on the device after run',
action='store_true')
+ option_parser.add_option('--num_retries', dest='num_retries', type='int',
+ default=2,
+ help='Number of retries for a test before '
+ 'giving up.')
option_parser.add_option('-v',
'--verbose',
dest='verbose_count',
@@ -117,9 +121,6 @@ def AddGTestOptions(option_parser):
help='Use Xvfb around tests (ignored if not Linux).')
option_parser.add_option('--webkit', action='store_true',
help='Run the tests from a WebKit checkout.')
- option_parser.add_option('--repeat', dest='repeat', type='int',
- default=2,
- help='Repeat count on test timeout.')
option_parser.add_option('--exit_code', action='store_true',
help='If set, the exit code will be total number '
'of failures.')
« no previous file with comments | « build/android/pylib/instrumentation/dispatch.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698