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-15 10:35:35 +0000 |
commit | 4d6d23015a44bc01b87da34b4bb99c842f869567 (patch) | |
tree | 8dff903960bea9928513677b7afe6abbb0237abd /tests | |
parent | bdc8cda5a5423f88e3109c12a9c438c5db670009 (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>
(cherry picked from commit 85612817685f8b64307276a2ce9ef79d9e048be4)
Diffstat (limited to 'tests')
-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 cc1aaa7d51..396748951b 100644 --- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp +++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp @@ -1869,6 +1869,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 |