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 <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2022-03-31 09:52:31 +02:00
parent ec5e060a07
commit 17ef9bc35c

View File

@@ -287,6 +287,7 @@ void TestRunner::scheduleNext()
reportResult(ResultType::MessageFatal, reportResult(ResultType::MessageFatal,
tr("Failed to start test for project \"%1\".").arg(m_currentConfig->displayName()) tr("Failed to start test for project \"%1\".").arg(m_currentConfig->displayName())
+ processInformation(m_currentProcess) + rcInfo(m_currentConfig)); + processInformation(m_currentProcess) + rcInfo(m_currentConfig));
onProcessFinished();
} }
} }