summaryrefslogtreecommitdiff
path: root/plugins/autotest/autotestplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/autotest/autotestplugin.cpp')
-rw-r--r--plugins/autotest/autotestplugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/autotest/autotestplugin.cpp b/plugins/autotest/autotestplugin.cpp
index 525f21ae3e..9c32e0b75c 100644
--- a/plugins/autotest/autotestplugin.cpp
+++ b/plugins/autotest/autotestplugin.cpp
@@ -168,7 +168,7 @@ void AutotestPlugin::onRunAllTriggered()
TestRunner *runner = TestRunner::instance();
TestTreeModel *model = TestTreeModel::instance();
runner->setSelectedTests(model->getAllTestCases());
- runner->runTests();
+ runner->prepareToRunTests();
}
void AutotestPlugin::onRunSelectedTriggered()
@@ -176,7 +176,7 @@ void AutotestPlugin::onRunSelectedTriggered()
TestRunner *runner = TestRunner::instance();
TestTreeModel *model = TestTreeModel::instance();
runner->setSelectedTests(model->getSelectedTests());
- runner->runTests();
+ runner->prepareToRunTests();
}
void AutotestPlugin::updateMenuItemsEnabledState()