From 85612817685f8b64307276a2ce9ef79d9e048be4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joni=20J=C3=A4ntti?= Date: Thu, 20 Jul 2017 15:16:20 +0300 Subject: tst_qwidget::activation expect fail on Win 10 This test fails on Windows 10 x64 Creators Update CI builds for unknown reasons. Change-Id: I766bccfd4dea9ea195c68403018b419e800a7b3b Reviewed-by: Simon Hausmann --- tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/auto/widgets/kernel') diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp index 63ff8380f8..ef851f38b2 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -1774,6 +1774,12 @@ void tst_QWidget::activation() QCOMPARE(QApplication::activeWindow(), &widget2); widget2.hide(); QTest::qWait(waitTime); +#ifdef Q_OS_WIN + if (QSysInfo::kernelVersion() == "10.0.15063") { + QEXPECT_FAIL("", "This fails on Windows 10 Creators Update (10.0.15063)", Continue); + // This happens in automated Windows 10 Creators Update (10.0.15063) CI builds! + } +#endif QCOMPARE(QApplication::activeWindow(), &widget1); } #endif // Q_OS_WIN -- cgit v1.2.3