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>
bb10
Joni Jäntti 2017-07-20 15:16:20 +03:00
parent 3d5bf00f18
commit 8561281768
1 changed files with 6 additions and 0 deletions

View File

@ -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