Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index c98fd318d92ede5e6c29285bd75a13d436a2c0c9..f4b6a4c9a3320db1e7d99253f92d8d8d6292843d 100755 |
--- a/build/android/test_runner.py |
+++ b/build/android/test_runner.py |
@@ -216,6 +216,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): |
@@ -467,7 +471,8 @@ def ProcessInstrumentationOptions(args): |
args.timeout_scale, |
args.apk_under_test, |
args.additional_apks, |
- args.strict_mode) |
+ args.strict_mode, |
+ args.skip_clear_data) |
def AddUIAutomatorTestOptions(parser): |