Bug 1257797 - Pass product argument by default when running mach web-platform-tests-update, r=Ms2ger
authorJames Graham <james@hoppipolla.co.uk>
Thu, 17 Mar 2016 11:35:32 +0000
changeset 289292 95f97693b04f1d244ef459d248ac862afd8e8536
parent 289291 2b403e072b392321765dc94f66d239a3bab5e585
child 289293 5e43591d463dd108d0cd35a2e302625ce0a3e178
push id73789
push userjames@hoppipolla.co.uk
push dateFri, 18 Mar 2016 11:39:56 +0000
treeherdermozilla-inbound@95f97693b04f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMs2ger
bugs1257797
milestone48.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 1257797 - Pass product argument by default when running mach web-platform-tests-update, r=Ms2ger MozReview-Commit-ID: QtlQrpaL9J
testing/web-platform/mach_commands.py
--- a/testing/web-platform/mach_commands.py
+++ b/testing/web-platform/mach_commands.py
@@ -83,16 +83,19 @@ class WebPlatformTestsRunner(MozbuildObj
 class WebPlatformTestsUpdater(MozbuildObject):
     """Update web platform tests."""
     def run_update(self, **kwargs):
         import update
         from update import updatecommandline
 
         if kwargs["config"] is None:
             kwargs["config"] = os.path.join(self.topsrcdir, 'testing', 'web-platform', 'wptrunner.ini')
+        if kwargs["product"] is None:
+            kwargs["product"] = "firefox"
+
         updatecommandline.check_args(kwargs)
         logger = update.setup_logging(kwargs, {"mach": sys.stdout})
 
         try:
             update.run_update(logger, **kwargs)
         except:
             import pdb
             import traceback