From 16d369d98c3baf1add759dced0849a6784f3e8c1 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 3 Oct 2017 21:13:56 +0200 Subject: [PATCH] bdd: Include captured log when subprocess didn't start Fixes #3052 --- tests/end2end/fixtures/testprocess.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/end2end/fixtures/testprocess.py b/tests/end2end/fixtures/testprocess.py index 60874e622..a4b136193 100644 --- a/tests/end2end/fixtures/testprocess.py +++ b/tests/end2end/fixtures/testprocess.py @@ -242,7 +242,8 @@ class Process(QObject): self._after_start() return - raise WaitForTimeout("Timed out while waiting for process start.") + raise WaitForTimeout("Timed out while waiting for process start.\n" + + _render_log(self.captured_log)) def _start(self, args, env): """Actually start the process."""