Bug 1275926 - Fixup a missing return statement in wpt logging setup, r=me
authorJames Graham <james@hoppipolla.co.uk>
Tue, 09 Oct 2018 12:03:35 +0100
changeset 440235 8b5926fac04e55e492e998b87920931cd32f3a73
parent 440234 eab20dd50c4cddfdbb531139a5cbf7654361666e
child 440236 f574c731fcb0e65e969a53e86ffd7ff57bbe2000
push id34810
push usershindli@mozilla.com
push dateTue, 09 Oct 2018 16:24:56 +0000
treeherdermozilla-central@77491723486d [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"),