Commit 4f13f074 authored by Christian Stenger's avatar Christian Stenger

AutoTest: Ignore generated files when parsing for tests

Change-Id: I66fcb2976f05d043ebc5a1c5a611ca688fe4fd16
Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
parent 790040dd
......@@ -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)";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment