Bug 1177782 - Enable --screenshot-on-fail for mochitests, r=jgriffin

This commit is contained in:
Jonathan Griffin 2015-06-29 16:55:17 -07:00
parent e9742befac
commit 20dc82c90c
10 changed files with 18 additions and 11 deletions

View File

@ -11,7 +11,7 @@ config = {
"--xre-path=%(xre_path)s", "--utility-path=%(utility_path)s",
"--http-port=%(http_port)s", "--ssl-port=%(ssl_port)s",
"--certificate-path=%(certs_path)s", "--symbols-path=%(symbols_path)s",
"--quiet", "--log-raw=%(raw_log_file)s",
"--quiet", "--log-raw=%(raw_log_file)s", "--screenshot-on-fail",
"--total-chunks=16",
],
},
@ -22,7 +22,7 @@ config = {
"--xre-path=%(xre_path)s", "--utility-path=%(utility_path)s",
"--http-port=%(http_port)s", "--ssl-port=%(ssl_port)s",
"--certificate-path=%(certs_path)s", "--symbols-path=%(symbols_path)s",
"--quiet", "--log-raw=%(raw_log_file)s",
"--quiet", "--log-raw=%(raw_log_file)s", "--screenshot-on-fail",
"--total-chunks=4",
"--subsuite=webgl",
],

View File

@ -12,7 +12,7 @@ config = {
"--deviceIP=%(device_ip)s", "--devicePort=%(device_port)s",
"--http-port=%(http_port)s", "--ssl-port=%(ssl_port)s",
"--certificate-path=%(certs_path)s", "--symbols-path=%(symbols_path)s",
"--quiet", "--log-raw=%(raw_log_file)s",
"--quiet", "--log-raw=%(raw_log_file)s", "--screenshot-on-fail",
"--total-chunks=16",
],
},
@ -24,7 +24,7 @@ config = {
"--deviceIP=%(device_ip)s", "--devicePort=%(device_port)s",
"--http-port=%(http_port)s", "--ssl-port=%(ssl_port)s",
"--certificate-path=%(certs_path)s", "--symbols-path=%(symbols_path)s",
"--quiet", "--log-raw=%(raw_log_file)s",
"--quiet", "--log-raw=%(raw_log_file)s", "--screenshot-on-fail",
"--total-chunks=4",
"--subsuite=webgl",
],

View File

@ -79,7 +79,8 @@ config = {
"--ssl-port=%(ssl_port)s",
"--symbols-path=%(symbols_path)s",
"--quiet",
"--log-raw=%(raw_log_file)s"
"--log-raw=%(raw_log_file)s",
"--screenshot-on-fail",
],
"run_filename": "runtestsremote.py",
"testsdir": "mochitest"

View File

@ -11,7 +11,7 @@ config = {
"--deviceIP=%(device_ip)s", "--devicePort=%(device_port)s",
"--http-port=%(http_port)s", "--ssl-port=%(ssl_port)s",
"--certificate-path=%(certs_path)s", "--symbols-path=%(symbols_path)s",
"--quiet", "--log-raw=%(raw_log_file)s",
"--quiet", "--log-raw=%(raw_log_file)s", "--screenshot-on-fail",
],
},
"reftest": {

View File

@ -16,7 +16,8 @@ config = {
"--symbols-path=%(symbols_path)s",
"--browser-arg=%(browser_arg)s",
"--quiet",
"--log-raw=%(raw_log_file)s"
"--log-raw=%(raw_log_file)s",
"--screenshot-on-fail",
],
"run_filename": "runtestsb2g.py",
"testsdir": "mochitest"

View File

@ -72,6 +72,7 @@ config = {
"--quiet",
"--log-raw=%(raw_log_file)s",
"--certificate-path=%(certificate_path)s",
"--screenshot-on-fail",
"%(test_path)s"
],
"run_filename": "runtestsb2g.py",
@ -93,6 +94,7 @@ config = {
"--chrome",
"--log-raw=%(raw_log_file)s",
"--certificate-path=%(certificate_path)s",
"--screenshot-on-fail",
"%(test_path)s"
],
"run_filename": "runtestsb2g.py",

View File

@ -33,7 +33,8 @@ config = {
"--setpref=webgl.force-enabled=true",
"--quiet",
"--log-raw=%(raw_log_file)s",
"--use-test-media-devices"
"--use-test-media-devices",
"--screenshot-on-fail",
],
"run_filename": "runtests.py",
"testsdir": "mochitest"

View File

@ -31,7 +31,8 @@ config = {
"--symbols-path=%(symbols_path)s",
"--certificate-path=tests/certs",
"--quiet",
"--log-raw=%(raw_log_file)s"
"--log-raw=%(raw_log_file)s",
"--screenshot-on-fail",
],
"run_filename": "runtests.py",
"testsdir": "mochitest"

View File

@ -11,7 +11,7 @@ config = {
"--appname=%(binary_path)s", "--utility-path=tests/bin",
"--extra-profile-file=tests/bin/plugins", "--symbols-path=%(symbols_path)s",
"--certificate-path=tests/certs", "--setpref=webgl.force-enabled=true",
"--quiet", "--log-raw=%(raw_log_file)s"
"--quiet", "--log-raw=%(raw_log_file)s", "--screenshot-on-fail",
],
"webapprt_options": [
"--app=%(app_path)s", "--utility-path=tests/bin",

View File

@ -31,7 +31,8 @@ config = {
"--symbols-path=%(symbols_path)s",
"--certificate-path=tests/certs",
"--quiet",
"--log-raw=%(raw_log_file)s"
"--log-raw=%(raw_log_file)s",
"--screenshot-on-fail",
],
"run_filename": "runtests.py",
"testsdir": "mochitest"