aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotest/testrunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/autotest/testrunner.cpp')
-rw-r--r--src/plugins/autotest/testrunner.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/autotest/testrunner.cpp b/src/plugins/autotest/testrunner.cpp
index cf432870e3..ca3b1cebb9 100644
--- a/src/plugins/autotest/testrunner.cpp
+++ b/src/plugins/autotest/testrunner.cpp
@@ -174,10 +174,13 @@ void TestRunner::scheduleNext()
tr("Executable path is empty. (%1)").arg(m_currentConfig->displayName()));
delete m_currentConfig;
m_currentConfig = nullptr;
- if (m_selectedTests.isEmpty())
+ if (m_selectedTests.isEmpty()) {
+ if (m_fakeFutureInterface)
+ m_fakeFutureInterface->reportFinished();
onFinished();
- else
+ } else {
onProcessFinished();
+ }
return;
}
if (!m_currentConfig->project())