summaryrefslogtreecommitdiffstats
path: root/chromium/tools
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2013-02-27 12:19:25 +0000
committerBen Murdoch <benm@google.com>2013-02-27 12:19:25 +0000
commit0d521727d7f2b57de718fe455b881d1cc7b3ba64 (patch)
tree1966ec5938a7639635c898929e1d7ace72eea978 /chromium/tools
parent96a4d8da950d3398a1d7c8fe5c42a632ffef7541 (diff)
downloadandroid_frameworks_webview-0d521727d7f2b57de718fe455b881d1cc7b3ba64.tar.gz
android_frameworks_webview-0d521727d7f2b57de718fe455b881d1cc7b3ba64.tar.bz2
android_frameworks_webview-0d521727d7f2b57de718fe455b881d1cc7b3ba64.zip
Add --screenshot-on-ui-failure option to CTS script.
When we fail due to INJECT_EVENTS not being allowed, grab a screenshot so we can better see what's going on. Bug: 8276976 Change-Id: Icddc63b60a3a08bc39ef5228e6341bbc39715775
Diffstat (limited to 'chromium/tools')
-rwxr-xr-xchromium/tools/run_webview_cts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/tools/run_webview_cts.py b/chromium/tools/run_webview_cts.py
index 3e8d6c0..189e7d1 100755
--- a/chromium/tools/run_webview_cts.py
+++ b/chromium/tools/run_webview_cts.py
@@ -71,7 +71,7 @@ def main():
signal.signal(signal.SIGINT, handler)
proc = subprocess.Popen(
- ['cts-tradefed', 'run', 'singleCommand', 'cts', '-p', 'android.webkit'],
+ ['cts-tradefed', 'run', 'singleCommand', 'cts', '-p', 'android.webkit', '--screenshot-on-ui-failure'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
(stdout, stderr) = proc.communicate();