Bug 1496452 - Don't log wpt manifest update when resolving tests r=ahal
authorJames Graham <james@hoppipolla.co.uk>
Fri, 05 Oct 2018 16:46:52 +0000
changeset 498395 04ee2bae4973154527cedb8597eae4b04a3e7b4c
parent 498394 efae18bd45a8f0a5b1c2faf8aeacb0157f45b703
child 498396 246160f26d969af6073958114941e033dcb8c638
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1496452
milestone64.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 1496452 - Don't log wpt manifest update when resolving tests r=ahal Differential Revision: https://phabricator.services.mozilla.com/D7732
testing/mozbase/moztest/moztest/resolve.py
--- a/testing/mozbase/moztest/moztest/resolve.py
+++ b/testing/mozbase/moztest/moztest/resolve.py
@@ -448,18 +448,24 @@ class TestMetadata(object):
     def add_wpt_manifest_data(self):
         if self._wpt_loaded:
             return
 
         wpt_path = os.path.join(self._srcdir, "testing", "web-platform")
         sys.path = [wpt_path] + sys.path
 
         import manifestupdate
+        # Set up a logger that will drop all the output
+        import logging
+        logger = logging.getLogger("manifestupdate")
+        logger.propogate = False
+
         manifests = manifestupdate.run(self._srcdir, self._objdir, rebuild=False, download=True,
-                                       config_path=None, rewrite_config=True, update=True)
+                                       config_path=None, rewrite_config=True, update=True,
+                                       logger=logger)
         if not manifests:
             print("Loading wpt manifest failed")
             return
 
         for manifest, data in manifests.iteritems():
             tests_root = data["tests_path"]
             for test_type, path, tests in manifest:
                 full_path = os.path.join(tests_root, path)