Bug 1275926 - Fixup a missing return statement in wpt logging setup, r=me
☠☠ backed out by 073c574eccc0 ☠ ☠
authorJames Graham <james@hoppipolla.co.uk>
Tue, 09 Oct 2018 12:03:35 +0100
changeset 498680 0d5f2da0dce734f2c16d988474a81c57cd0c9f24
parent 498679 4ee6bd59c115832fd1fd5d285b591ba4cc6420d5
child 498681 073c574eccc040d44bd1a3ac6354cbe9e47f63ea
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)
reviewersme
bugs1275926
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 1275926 - Fixup a missing return statement in wpt logging setup, r=me
testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py
--- a/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py
+++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/wptrunner.py
@@ -34,16 +34,17 @@ The runner has several design goals:
 The upstream repository has the facility for creating a test manifest in JSON
 format. This manifest is used directly to determine which tests exist. Local
 metadata files are used to store the expected test results.
 """
 
 def setup_logging(*args, **kwargs):
     global logger
     logger = wptlogging.setup(*args, **kwargs)
+    return logger
 
 
 def get_loader(test_paths, product, debug=None, run_info_extras=None, **kwargs):
     if run_info_extras is None:
         run_info_extras = {}
 
     run_info = wpttest.get_run_info(kwargs["run_info"], product,
                                     browser_version=kwargs.get("browser_version"),