forked from qt-creator/qt-creator
AutoTest: Ignore generated files when parsing for tests
Change-Id: I66fcb2976f05d043ebc5a1c5a611ca688fe4fd16 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -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)";
|
||||
|
Reference in New Issue
Block a user