diff options
author | Joni Jäntti <joni.jantti@qt.io> | 2017-07-20 15:16:20 +0300 |
---|---|---|
committer | Joni Jäntti <joni.jantti@qt.io> | 2017-08-03 06:58:35 +0000 |
commit | 85612817685f8b64307276a2ce9ef79d9e048be4 (patch) | |
tree | 1ab0096a713008ecf6af7d48e51af62860005e2f /tests/auto/widgets | |
parent | 3d5bf00f18b5b9d1f5de4ff610ad15d5d0ed8c3d (diff) |
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 <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r-- | tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 |