diff --git a/src/plugins/autotest/quick/quicktesttreeitem.cpp b/src/plugins/autotest/quick/quicktesttreeitem.cpp index 953f31e6618..29f6aa4a7cc 100644 --- a/src/plugins/autotest/quick/quicktesttreeitem.cpp +++ b/src/plugins/autotest/quick/quicktesttreeitem.cpp @@ -123,8 +123,12 @@ TestConfiguration *QuickTestTreeItem::testConfiguration() const switch (type()) { case TestCase: { QStringList testFunctions; - for (int row = 0, count = childCount(); row < count; ++row) - testFunctions << name() + "::" + childItem(row)->name(); + for (int row = 0, count = childCount(); row < count; ++row) { + const TestTreeItem *child = childItem(row); + if (child->type() == TestTreeItem::TestSpecialFunction) + continue; + testFunctions << name() + "::" + child->name(); + } config = new QuickTestConfiguration; config->setTestCases(testFunctions); config->setProjectFile(proFile());