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
This commit is contained in:
Andreas Tolfsen 2018-01-10 15:47:10 +00:00
Родитель 9c40e3fc71
Коммит 72e6a32892
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -58,6 +58,7 @@ def run(path, server_config, session_config, timeout=0):
"--showlocals", # display contents of variables in local scope "--showlocals", # display contents of variables in local scope
"-p", "no:mozlog", # use the WPT result recorder "-p", "no:mozlog", # use the WPT result recorder
"-p", "no:cacheprovider", # disable state preservation across invocations "-p", "no:cacheprovider", # disable state preservation across invocations
"-o=console_output_style=classic", # disable test progress bar
path], path],
plugins=[harness, subtests]) plugins=[harness, subtests])
except Exception as e: except Exception as e: