Bug 1371358 - Don't check the webdriver binary exists before running wpt tests, r=ato
This ensures that developers can run the majority of tests with the
default config, but makes things a little more confusing for marionette
developers.
MozReview-Commit-ID: 9wd761ZgCyx
--- a/testing/web-platform/mach_commands.py
+++ b/testing/web-platform/mach_commands.py
@@ -61,17 +61,17 @@ class WebPlatformTestsRunner(MozbuildObj
kwargs["host_key_path"] = os.path.join(here, "certs", "web-platform.test.key")
if kwargs["host_cert_path"] is None:
kwargs["host_cert_path"] = os.path.join(here, "certs", "web-platform.test.pem")
kwargs["capture_stdio"] = True
if kwargs["webdriver_binary"] is None:
- kwargs["webdriver_binary"] = self.get_binary_path("geckodriver")
+ kwargs["webdriver_binary"] = self.get_binary_path("geckodriver", validate_exists=False)
kwargs = wptcommandline.check_args(kwargs)
def setup_kwargs_wptrun(self, kwargs):
from wptrunner import wptcommandline
here = os.path.join(self.topsrcdir, 'testing', 'web-platform')
sys.path.insert(0, os.path.join(here, "tests", "tools"))