forked from qt-creator/qt-creator
AutoTest: Do not perform parse for disabled parsers
If a single parser triggers a reparse check if it is enabled to avoid senseless work. Change-Id: Ib28f2737be81021e1bfdd33eb347c64ffb5df020 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -324,6 +324,8 @@ void TestCodeParser::scanForTests(const QStringList &fileList, ITestParser *pars
|
||||
{
|
||||
if (m_parserState == Shutdown || m_testCodeParsers.isEmpty())
|
||||
return;
|
||||
if (parser && !m_testCodeParsers.contains(parser))
|
||||
return;
|
||||
|
||||
if (postponed(fileList))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user