forked from qt-creator/qt-creator
Tests: Fix handling of optional tests
Change-Id: I7ee1cb1a05e1f494a440874f88cb44df6110f802 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1699,6 +1699,8 @@ void tst_Dumpers::dumper()
|
|||||||
return static_cast<WatchItem *>(item)->internalName() == iname;
|
return static_cast<WatchItem *>(item)->internalName() == iname;
|
||||||
}));
|
}));
|
||||||
if (!item) {
|
if (!item) {
|
||||||
|
if (check.optionallyPresent)
|
||||||
|
return true;
|
||||||
qDebug() << "NOT SEEN: " << check.iname;
|
qDebug() << "NOT SEEN: " << check.iname;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user