summaryrefslogtreecommitdiff
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/bic/tst_bic.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/auto/bic/tst_bic.cpp b/tests/auto/bic/tst_bic.cpp
index a470049471..c4a84291c8 100644
--- a/tests/auto/bic/tst_bic.cpp
+++ b/tests/auto/bic/tst_bic.cpp
@@ -315,13 +315,14 @@ void tst_Bic::sizesAndVTables()
}
if (!diff.modifiedVTables.isEmpty()) {
- foreach(QStringPair entry, diff.modifiedVTables)
- qWarning() << "modified VTable:\n Old: " << entry.first
- << "\n New: " << entry.second;
if (diff.modifiedVTables.size() != 1 ||
strcmp(QTest::currentDataTag(), "4.4") != 0 ||
- diff.modifiedVTables.at(0).first != "QGraphicsProxyWidget")
+ diff.modifiedVTables.at(0).first != "QGraphicsProxyWidget") {
+ foreach(QStringPair entry, diff.modifiedVTables)
+ qWarning() << "modified VTable:\n Old: " << entry.first
+ << "\n New: " << entry.second;
isFailed = true;
+ }
}
if (isPatchRelease && !diff.addedVTables.isEmpty()) {