From 72e6a328926e1817c76dd68de74464bff9d870b7 Mon Sep 17 00:00:00 2001 From: Andreas Tolfsen Date: Wed, 10 Jan 2018 15:47:10 +0000 Subject: [PATCH] Bug 1429388 - Use classic pytest output style for WPT. r=davehunt,jgraham The upstream upgrade of pytest came with a new test progress percentage feature that introduced a lot of unnecessary log output in WPT wdspec tests. This adds a pytest flag that reverts it to use the "classic" output style, which does not have a test progress bar. MozReview-Commit-ID: 9ucB7CzV5ig --HG-- extra : rebase_source : c26c8b1e9ffbeb3fe531a63c5f586b8bfaeaacb1 --- .../tools/wptrunner/wptrunner/executors/pytestrunner/runner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py b/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py index 0870b1232ad5..e08b926e77fd 100644 --- a/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py +++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/executors/pytestrunner/runner.py @@ -58,6 +58,7 @@ def run(path, server_config, session_config, timeout=0): "--showlocals", # display contents of variables in local scope "-p", "no:mozlog", # use the WPT result recorder "-p", "no:cacheprovider", # disable state preservation across invocations + "-o=console_output_style=classic", # disable test progress bar path], plugins=[harness, subtests]) except Exception as e: