forked from qt-creator/qt-creator
AutoTest: Fix wrong behavior when rescan is triggered
If the code parsers perform a full scan then do not use cached information. Change-Id: Ib9635c9715841ab71b97edfe42c4fe9d9d20c23a Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -399,7 +399,7 @@ void TestCodeParser::scanForTests(const QStringList &fileList, ITestParser *pars
|
||||
codeParsers.append(m_testCodeParsers);
|
||||
qCDebug(LOG) << QDateTime::currentDateTime().toString("hh:mm:ss.zzz") << "StartParsing";
|
||||
for (ITestParser *parser : codeParsers)
|
||||
parser->init(list);
|
||||
parser->init(list, isFullParse);
|
||||
|
||||
QFuture<TestParseResultPtr> future = Utils::map(list,
|
||||
[codeParsers](QFutureInterface<TestParseResultPtr> &fi, const QString &file) {
|
||||
|
||||
Reference in New Issue
Block a user