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

Unified Diff: build/android/pylib/instrumentation/instrumentation_test_instance.py

Issue 2233193002: Pass regenerate-goldens flag through to Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Spacing. Created 4 years, 4 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 | « no previous file | build/android/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/instrumentation/instrumentation_test_instance.py
diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance.py b/build/android/pylib/instrumentation/instrumentation_test_instance.py
index 3a69c36acec87fcbe654d1be1648e1ad93bcc937..e72b8941c794d3fbf9dfa4dff2806352a18dee3e 100644
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py
@@ -516,6 +516,8 @@ class InstrumentationTestInstance(test_instance.TestInstance):
args.strict_mode and
args.strict_mode != 'off'):
self._flags.append('--strict-mode=' + args.strict_mode)
+ if hasattr(args, 'regenerate_goldens') and args.regenerate_goldens:
+ self._flags.append('--regenerate-goldens')
def _initializeDriverAttributes(self):
self._driver_apk = os.path.join(
« no previous file with comments | « no previous file | build/android/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698