From 4f13f074d980ab7237f1cc534402f41399170d60 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 7 Jul 2016 13:28:16 +0200 Subject: [PATCH] AutoTest: Ignore generated files when parsing for tests Change-Id: I66fcb2976f05d043ebc5a1c5a611ca688fe4fd16 Reviewed-by: David Schulz --- src/plugins/autotest/testcodeparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/autotest/testcodeparser.cpp b/src/plugins/autotest/testcodeparser.cpp index 9bf3dca740c..2680736e767 100644 --- a/src/plugins/autotest/testcodeparser.cpp +++ b/src/plugins/autotest/testcodeparser.cpp @@ -306,7 +306,7 @@ void TestCodeParser::scanForTests(const QStringList &fileList) bool isFullParse = fileList.isEmpty(); QStringList list; if (isFullParse) { - list = ProjectExplorer::SessionManager::startupProject()->files(ProjectExplorer::Project::AllFiles); + list = ProjectExplorer::SessionManager::startupProject()->files(ProjectExplorer::Project::SourceFiles); if (list.isEmpty()) return; qCDebug(LOG) << "setting state to FullParse (scanForTests)";