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

Unified Diff: build/android/test_runner.py

Issue 1570043004: Adds --skip-clear-data flag to android's test_runner.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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
Index: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index 2654ad04250090a2052d17da683b6d720d966c89..4d012fb76bbe39da0e38614c6189d75431c2bbd8 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -213,6 +213,10 @@ def AddDeviceOptions(parser):
group.add_argument('--enable-concurrent-adb', action='store_true',
help='Run multiple adb commands at the same time, even '
'for the same device.')
+ group.add_argument('--skip-clear-data', action='store_true',
+ help='Do not wipe app data between tests. Use this to '
+ 'speed up local development and never on bots '
+ '(increases flakiness)')
def AddGTestOptions(parser):
@@ -459,7 +463,8 @@ def ProcessInstrumentationOptions(args):
args.delete_stale_data,
args.timeout_scale,
args.apk_under_test,
- args.additional_apks)
+ args.additional_apks,
+ args.skip_clear_data)
def AddUIAutomatorTestOptions(parser):

Powered by Google App Engine
This is Rietveld 408576698