Bug 1025066 - Enable web-platform-tests script to access the certutils binary, r=armenzg
authorJames Graham <james@hoppipolla.co.uk>
Mon, 22 Dec 2014 10:41:43 +0000 (2014-12-22)
changeset 3526 3ae51b94a56afd027f9fe6950315c328bce21a3d
parent 3525 073d426649ee59f4ef6083eedb4fca01900b9844
child 3527 e84f832aa8f8acab9ddf93856c5542859f1755ae
push id2745
push userjames@hoppipolla.co.uk
push dateThu, 08 Jan 2015 15:05:13 +0000 (2015-01-08)
reviewersarmenzg
bugs1025066
Bug 1025066 - Enable web-platform-tests script to access the certutils binary, r=armenzg
scripts/web_platform_tests.py
--- a/scripts/web_platform_tests.py
+++ b/scripts/web_platform_tests.py
@@ -134,28 +134,30 @@ class WebPlatformTest(TestingMixin, Merc
             if val:
                 base_cmd.append("--%s=%s" % (opt.replace("_", "-"), val))
 
         options = list(c.get("options", [])) + list(self.tree_config["options"])
 
         str_format_values = {
             'binary_path': self.binary_path,
             'test_path': dirs["abs_wpttest_dir"],
+            'test_install_path': dirs["abs_test_install_dir"],
             'abs_app_dir': abs_app_dir,
             'abs_work_dir': dirs["abs_work_dir"]
             }
 
         opt_cmd = [item % str_format_values for item in options]
 
         return base_cmd + opt_cmd
 
     def download_and_extract(self):
         self.install_minidump_stackwalk()
         super(WebPlatformTest, self).download_and_extract(
-            target_unzip_dirs=["config/*",
+            target_unzip_dirs=["bin/*",
+                               "config/*",
                                "mozbase/*",
                                "marionette/*",
                                "web-platform/*"])
 
     def run_tests(self):
         dirs = self.query_abs_dirs()
         cmd = self._query_cmd()