From ba718a2b9d82cd03776db00ae4252fbe258d0cab Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 5 Sep 2016 16:19:22 +0200 Subject: [PATCH] end2end: Improve output when subprocess exits We don't really have the "infrastructure" set up yet to have proper log output at that point, but we can always just show the log output as part of the exception. --- tests/end2end/fixtures/testprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/end2end/fixtures/testprocess.py b/tests/end2end/fixtures/testprocess.py index 86a883aea..c8868e2a5 100644 --- a/tests/end2end/fixtures/testprocess.py +++ b/tests/end2end/fixtures/testprocess.py @@ -234,7 +234,7 @@ class Process(QObject): if not self.is_running(): # _start ensures it actually started, but it might quit shortly # afterwards - raise ProcessExited() + raise ProcessExited('\n' + _render_log(self.captured_log)) if blocker.signal_triggered: self._after_start()