Bug 1370203 - Don't require setting the wpt hosts configuration for servo, r=farre
Servo reads the hosts from a file created at runtime, so this
configuration isn't required.
MozReview-Commit-ID: 20NoZyp3bJz
--- a/testing/web-platform/tests/tools/wptrun.py
+++ b/testing/web-platform/tests/tools/wptrun.py
@@ -76,17 +76,17 @@ your PATH.
Otherwise run with --ssl-type=none""")
else:
raise WptrunError("""OpenSSL not found. If you don't need HTTPS support run with --ssl-type=none,
otherwise install OpenSSL and ensure that it's on your $PATH.""")
def check_environ(product):
- if product != "firefox":
+ if product not in ("firefox", "servo"):
expected_hosts = ["web-platform.test",
"www.web-platform.test",
"www1.web-platform.test",
"www2.web-platform.test",
"xn--n8j6ds53lwwkrqhv28a.web-platform.test",
"xn--lve-6lad.web-platform.test",
"nonexistent-origin.web-platform.test"]
missing_hosts = set(expected_hosts)