summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp b/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp
index bf6a3f223d..0200085726 100644
--- a/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp
+++ b/tests/auto/corelib/time/qtimezone/tst_qtimezone.cpp
@@ -1072,6 +1072,8 @@ void tst_QTimeZone::icuTest()
}
testCetPrivate(tzp);
+ if (QTest::currentTestFailed())
+ return;
testEpochTranPrivate(QIcuTimeZonePrivate("America/Toronto"));
#endif // icu
}
@@ -1154,7 +1156,11 @@ void tst_QTimeZone::tzTest()
}
testCetPrivate(tzp);
+ if (QTest::currentTestFailed())
+ return;
testEpochTranPrivate(QTzTimeZonePrivate("America/Toronto"));
+ if (QTest::currentTestFailed())
+ return;
// Test first and last transition rule
// Warning: This could vary depending on age of TZ file!
@@ -1314,6 +1320,8 @@ void tst_QTimeZone::macTest()
}
testCetPrivate(tzp);
+ if (QTest::currentTestFailed())
+ return;
testEpochTranPrivate(QMacTimeZonePrivate("America/Toronto"));
#endif // QT_BUILD_INTERNAL && Q_OS_DARWIN
}
@@ -1380,6 +1388,8 @@ void tst_QTimeZone::winTest()
}
testCetPrivate(tzp);
+ if (QTest::currentTestFailed())
+ return;
testEpochTranPrivate(QWinTimeZonePrivate("America/Toronto"));
#endif // QT_BUILD_INTERNAL && USING_WIN_TZ
}