diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-05-25 17:56:17 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-05-25 17:56:17 +0200 |
commit | e2475b9f23f3e38cf306fb2773dcab8200af3150 (patch) | |
tree | df1358eb9353b853ec5a0ae4289194711a665fe6 | |
parent | 1a97a1b5c74cb33ef2e0160e4a9100a59cd27d15 (diff) | |
download | qutebrowser-e2475b9f23f3e38cf306fb2773dcab8200af3150.tar.gz qutebrowser-e2475b9f23f3e38cf306fb2773dcab8200af3150.zip |
tests: Don't suppress output if on CI
-rw-r--r-- | tests/end2end/fixtures/testprocess.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/end2end/fixtures/testprocess.py b/tests/end2end/fixtures/testprocess.py index 3c19b86ef..08f9754db 100644 --- a/tests/end2end/fixtures/testprocess.py +++ b/tests/end2end/fixtures/testprocess.py @@ -74,7 +74,10 @@ def _render_log(data, *, verbose, threshold=100): data = [str(d) for d in data] is_exception = any('Traceback (most recent call last):' in line or 'Uncaught exception' in line for line in data) - if len(data) > threshold and not verbose and not is_exception: + if (len(data) > threshold and + not verbose and + not is_exception and + not utils.ON_CI): msg = '[{} lines suppressed, use -v to show]'.format( len(data) - threshold) data = [msg] + data[-threshold:] |