Bug 1371358 - Don't check the webdriver binary exists before running wpt tests, r=ato
authorJames Graham <james@hoppipolla.co.uk>
Thu, 08 Jun 2017 18:15:31 +0100
changeset 363060 20d3fd264af14d0180a04a3a2807512921b04b00
parent 363059 09251a0a67718d0c341606c231c1cf0da3e41a3d
child 363061 49690ce265bb74a152f36c88c6ae5dc01f331523
push id31994
push usercbook@mozilla.com
push dateFri, 09 Jun 2017 10:56:24 +0000
treeherdermozilla-central@7c9d96bbc400 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato
bugs1371358
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
testing/web-platform/mach_commands.py
--- 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"))