зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
9c40e3fc71
Коммит
72e6a32892
|
@ -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:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче