diff options
author | Christian Stenger <christian.stenger@qt.io> | 2019-01-28 10:17:09 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2019-01-28 11:22:51 +0000 |
commit | e109ff6e5fadb0044ea54e3da210f34e6ff9ffb6 (patch) | |
tree | 792e0f0897d3e3d67ff6ca412fb77fc4cf36e28a | |
parent | 78166b857dc7dc3d06491eee728bc767b1f85281 (diff) | |
download | qt-creator-e109ff6e5fadb0044ea54e3da210f34e6ff9ffb6.tar.gz |
Tests: Fix handling of optional tests
Change-Id: I7ee1cb1a05e1f494a440874f88cb44df6110f802
Reviewed-by: hjk <hjk@qt.io>
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 8f78aa7c47..c031d4b62a 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -1699,6 +1699,8 @@ void tst_Dumpers::dumper() return static_cast<WatchItem *>(item)->internalName() == iname; })); if (!item) { + if (check.optionallyPresent) + return true; qDebug() << "NOT SEEN: " << check.iname; return false; } |