Bug 1371358 - Don't check the webdriver binary exists before running wpt tests, r=ato draft
authorJames Graham <james@hoppipolla.co.uk>
Thu, 08 Jun 2017 18:15:31 +0100
changeset 591160 0b787d04b30a1c90c27c59f58a7458f38b26d555
parent 591159 afa3bc0f68217661be767a273e73d2413745a81a
child 632444 a541a28fb78f53f92f574ef184ed50cc14fd3160
push id62974
push userbmo:james@hoppipolla.co.uk
push dateThu, 08 Jun 2017 18:17:25 +0000
reviewersato
bugs1371358
milestone55.0a1
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"))