From 17ef9bc35c80a04acb39e5b211f11adbc581ca6e Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 31 Mar 2022 09:52:31 +0200 Subject: [PATCH] AutoTest: Ensure test runner does not get stuck If we fail to start the executable or the executable is missing we need to ensure the runner continues by cleaning up and scheduling the next test if there are more. Fixes: QTCREATORBUG-27285 Change-Id: Ia89374d7105f2fd6a42fa3fa018f14677e30ad1b Reviewed-by: David Schulz --- src/plugins/autotest/testrunner.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/autotest/testrunner.cpp b/src/plugins/autotest/testrunner.cpp index fea438dc35a..8dac62a4ed8 100644 --- a/src/plugins/autotest/testrunner.cpp +++ b/src/plugins/autotest/testrunner.cpp @@ -287,6 +287,7 @@ void TestRunner::scheduleNext() reportResult(ResultType::MessageFatal, tr("Failed to start test for project \"%1\".").arg(m_currentConfig->displayName()) + processInformation(m_currentProcess) + rcInfo(m_currentConfig)); + onProcessFinished(); } }