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

Unified Diff: build/android/test_runner.py

Issue 2874173002: Retreive screenshots captured by tests from test devices. (Closed)
Patch Set: Rebase Created 3 years, 7 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 8f169665f0d733fa2a860c506649318991546d74..a6aca239d30af8da5b7044c76e7a42b447d88d50 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -425,6 +425,14 @@ def AddInstrumentationTestOptions(parser):
'--timeout-scale',
type=float,
help='Factor by which timeouts should be scaled.')
+ parser.add_argument(
+ '--ui-screenshot-directory',
+ dest='ui_screenshot_dir', type=os.path.realpath,
+ help='Destination for screenshots captured by the tests')
+ parser.add_argument(
mikecase (-- gone --) 2017/05/19 15:46:43 This looks like it was accidentally re-added
aberent 2017/05/22 18:03:20 Done.
+ '-w', '--wait_debugger',
+ action='store_true', dest='wait_for_debugger',
+ help='Wait for debugger.')
# These arguments are suppressed from the help text because they should
# only ever be specified by an intermediate script.

Powered by Google App Engine
This is Rietveld 408576698