diff options
author | louiz’ <louiz@louiz.org> | 2021-01-14 12:25:38 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2021-01-14 12:25:38 +0100 |
commit | 1b1b03b21b5e482dda75796b1287aa9bc6cfd847 (patch) | |
tree | 9e07d1c79649003d1535424385fb9c19ea435490 | |
parent | 5eb825bd6158168fe9057d2569913722f8c1cadd (diff) | |
download | biboumi-1b1b03b21b5e482dda75796b1287aa9bc6cfd847.tar.gz biboumi-1b1b03b21b5e482dda75796b1287aa9bc6cfd847.tar.bz2 biboumi-1b1b03b21b5e482dda75796b1287aa9bc6cfd847.tar.xz biboumi-1b1b03b21b5e482dda75796b1287aa9bc6cfd847.zip |
Print each e2e test output on only one line
-rw-r--r-- | tests/end_to_end/__main__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index be5c789..35edf3e 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -206,7 +206,8 @@ class BiboumiTest: def run(self): with_valgrind = os.environ.get("E2E_WITH_VALGRIND") is not None - print("Running scenario: [33;1m%s[0m%s" % (self.scenario.name, " (with valgrind)" if with_valgrind else '')) + print("Running scenario: [33;1m%s[0m%s… " % (self.scenario.name, " (with valgrind)" if with_valgrind else ''), end='') + sys.stdout.flush() # Redirect the slixmpp logging into a specific file output_filename = "slixmpp_%s_output.txt" % (self.scenario.name,) with open(output_filename, "w"): |