mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
Update web-platform-tests to revision 093a97b6ecc6484c201d704d38b47bef1964d59d
This commit is contained in:
parent
16e4eb6964
commit
f9972c83e3
79 changed files with 1530 additions and 824 deletions
|
@ -133,6 +133,7 @@ class SauceConnect():
|
|||
self.sauce_key = kwargs["sauce_key"]
|
||||
self.sauce_tunnel_id = kwargs["sauce_tunnel_id"]
|
||||
self.sauce_connect_binary = kwargs.get("sauce_connect_binary")
|
||||
self.sauce_connect_args = kwargs.get("sauce_connect_args")
|
||||
self.sauce_init_timeout = kwargs.get("sauce_init_timeout")
|
||||
self.sc_process = None
|
||||
self.temp_dir = None
|
||||
|
@ -171,7 +172,7 @@ class SauceConnect():
|
|||
"--readyfile=./sauce_is_ready",
|
||||
"--tunnel-domains",
|
||||
",".join(self.env_config.domains_set)
|
||||
])
|
||||
] + self.sauce_connect_args)
|
||||
|
||||
tot_wait = 0
|
||||
while not os.path.exists('./sauce_is_ready') and self.sc_process.poll() is None:
|
||||
|
|
|
@ -25,7 +25,8 @@ def test_sauceconnect_success():
|
|||
sauce_user="aaa",
|
||||
sauce_key="bbb",
|
||||
sauce_tunnel_id="ccc",
|
||||
sauce_connect_binary="ddd")
|
||||
sauce_connect_binary="ddd",
|
||||
sauce_connect_args=[])
|
||||
|
||||
with ConfigBuilder(browser_host="example.net") as env_config:
|
||||
sauce_connect(None, env_config)
|
||||
|
@ -54,7 +55,8 @@ def test_sauceconnect_failure_exit(readyfile, returncode):
|
|||
sauce_user="aaa",
|
||||
sauce_key="bbb",
|
||||
sauce_tunnel_id="ccc",
|
||||
sauce_connect_binary="ddd")
|
||||
sauce_connect_binary="ddd",
|
||||
sauce_connect_args=[])
|
||||
|
||||
with ConfigBuilder(browser_host="example.net") as env_config:
|
||||
sauce_connect(None, env_config)
|
||||
|
@ -82,7 +84,8 @@ def test_sauceconnect_cleanup():
|
|||
sauce_user="aaa",
|
||||
sauce_key="bbb",
|
||||
sauce_tunnel_id="ccc",
|
||||
sauce_connect_binary="ddd")
|
||||
sauce_connect_binary="ddd",
|
||||
sauce_connect_args=[])
|
||||
|
||||
with ConfigBuilder(browser_host="example.net") as env_config:
|
||||
sauce_connect(None, env_config)
|
||||
|
@ -106,7 +109,8 @@ def test_sauceconnect_failure_never_ready():
|
|||
sauce_user="aaa",
|
||||
sauce_key="bbb",
|
||||
sauce_tunnel_id="ccc",
|
||||
sauce_connect_binary="ddd")
|
||||
sauce_connect_binary="ddd",
|
||||
sauce_connect_args=[])
|
||||
|
||||
with ConfigBuilder(browser_host="example.net") as env_config:
|
||||
sauce_connect(None, env_config)
|
||||
|
@ -134,7 +138,8 @@ def test_sauceconnect_tunnel_domains():
|
|||
sauce_user="aaa",
|
||||
sauce_key="bbb",
|
||||
sauce_tunnel_id="ccc",
|
||||
sauce_connect_binary="ddd")
|
||||
sauce_connect_binary="ddd",
|
||||
sauce_connect_args=[])
|
||||
|
||||
with ConfigBuilder(browser_host="example.net",
|
||||
alternate_hosts={"alt": "example.org"},
|
||||
|
|
|
@ -302,6 +302,10 @@ scheme host and port.""")
|
|||
help="Number of seconds to wait for Sauce "
|
||||
"Connect tunnel to be available before "
|
||||
"aborting")
|
||||
sauce_group.add_argument("--sauce-connect-arg", action="append",
|
||||
default=[], dest="sauce_connect_args",
|
||||
help="Command-line argument to forward to the "
|
||||
"Sauce Connect binary (repeatable)")
|
||||
|
||||
webkit_group = parser.add_argument_group("WebKit-specific")
|
||||
webkit_group.add_argument("--webkit-port", dest="webkit_port",
|
||||
|
|
|
@ -284,6 +284,8 @@ def run_tests(config, test_paths, product, **kwargs):
|
|||
logger.suite_end()
|
||||
if repeat_until_unexpected and unexpected_total > 0:
|
||||
break
|
||||
if len(test_loader.test_ids) == skipped_tests:
|
||||
break
|
||||
|
||||
if test_total == 0:
|
||||
if skipped_tests > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue