aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/qjsengine/tst_qjsengine.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qjsengine/tst_qjsengine.cpp b/tests/auto/qml/qjsengine/tst_qjsengine.cpp
index fe467b5ac0..ca3fa8bca4 100644
--- a/tests/auto/qml/qjsengine/tst_qjsengine.cpp
+++ b/tests/auto/qml/qjsengine/tst_qjsengine.cpp
@@ -2555,6 +2555,9 @@ void tst_QJSEngine::qRegExpInport()
// effect at a given date (QTBUG-9770).
void tst_QJSEngine::dateRoundtripJSQtJS()
{
+#ifdef Q_OS_WIN
+ QSKIP("This test fails on Windows due to a bug in QDateTime.");
+#endif
uint secs = QDateTime(QDate(2009, 1, 1)).toUTC().toTime_t();
QJSEngine eng;
for (int i = 0; i < 8000; ++i) {
@@ -2569,6 +2572,9 @@ void tst_QJSEngine::dateRoundtripJSQtJS()
void tst_QJSEngine::dateRoundtripQtJSQt()
{
+#ifdef Q_OS_WIN
+ QSKIP("This test fails on Windows due to a bug in QDateTime.");
+#endif
QDateTime qtDate = QDateTime(QDate(2009, 1, 1));
QJSEngine eng;
for (int i = 0; i < 8000; ++i) {
@@ -2582,6 +2588,9 @@ void tst_QJSEngine::dateRoundtripQtJSQt()
void tst_QJSEngine::dateConversionJSQt()
{
+#ifdef Q_OS_WIN
+ QSKIP("This test fails on Windows due to a bug in QDateTime.");
+#endif
uint secs = QDateTime(QDate(2009, 1, 1)).toUTC().toTime_t();
QJSEngine eng;
for (int i = 0; i < 8000; ++i) {