Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index 8f169665f0d733fa2a860c506649318991546d74..ab1f0fc6311cbd358cf0822370ac8b317c3fb031 100755 |
--- a/build/android/test_runner.py |
+++ b/build/android/test_runner.py |
@@ -425,6 +425,10 @@ 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') |
# These arguments are suppressed from the help text because they should |
# only ever be specified by an intermediate script. |