forked from qt-creator/qt-creator
AutoTest: Retrigger scan if active frameworks change
...if the code parser is scanning for tests. Otherwise we have the canceled state of the running scan. Change-Id: Ief493c0bf66825e57c44c79193d5e8085ee98acd Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -92,7 +92,7 @@ void TestCodeParser::syncTestFrameworks(const QList<ITestParser *> &parsers)
|
|||||||
{
|
{
|
||||||
if (m_parserState != Idle) {
|
if (m_parserState != Idle) {
|
||||||
// there's a running parse
|
// there's a running parse
|
||||||
m_postponedUpdateType = UpdateType::NoUpdate;
|
m_postponedUpdateType = UpdateType::FullUpdate;
|
||||||
m_postponedFiles.clear();
|
m_postponedFiles.clear();
|
||||||
ProgressManager::cancelTasks(Constants::TASK_PARSE);
|
ProgressManager::cancelTasks(Constants::TASK_PARSE);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user