Bug 1103906 - Enable logger for mach web-platform-tests-update script, r=ato
authorJames Graham <james@hoppipolla.co.uk>
Mon, 24 Nov 2014 12:56:31 +0000
changeset 241540 8c990d08ba00f55a02dd056f1c0c8673d697e71f
parent 241539 6f3d1c185380adf949b79ed99bfca31fcc496066
child 241541 bb06fb2e19831c89ec57e2442f311b3165fdc87a
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato
bugs1103906
milestone36.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 1103906 - Enable logger for mach web-platform-tests-update script, r=ato
testing/web-platform/mach_commands.py
--- a/testing/web-platform/mach_commands.py
+++ b/testing/web-platform/mach_commands.py
@@ -69,16 +69,17 @@ class WebPlatformTestsUpdater(MozbuildOb
     """Update web platform tests."""
     def run_update(self, **kwargs):
         from wptrunner import update
 
         if kwargs["config"] is None:
             kwargs["config"] = os.path.join(self.topsrcdir, 'testing', 'web-platform', 'wptrunner.ini')
 
         wptcommandline.set_from_config(kwargs)
+        update.setup_logging(kwargs, {"mach": sys.stdout})
 
         update.run_update(**kwargs)
 
 class WebPlatformTestsReduce(WebPlatformTestsRunner):
 
     def run_reduce(self, **kwargs):
         from wptrunner import reduce