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

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: update todo 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 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):
« no previous file with comments | « build/android/pylib/local/device/local_device_instrumentation_test_run.py ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698