Skip to content

Commit

Permalink
tst_qwidget::activation expect fail on Win 10
Browse files Browse the repository at this point in the history
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 8561281)
  • Loading branch information
Joni Jäntti committed Aug 15, 2017
1 parent bdc8cda commit 4d6d230
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 4d6d230

Please sign in to comment.