diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-05-26 10:16:34 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2020-05-26 16:00:03 +0200 |
commit | 3110fd0809943560845465406b0ac3fccd9ab831 (patch) | |
tree | 950375c1a4f5a9517325592ff1ce6c8748970860 /tests/auto/qquickapplicationwindow | |
parent | abf7bc03380163678349de93b362c63ec3047fbf (diff) |
Skip tests that use graphical effects on Win 7
It's not clear why these fail, but we can live without the test on
Windows 7.
Fixes: QTBUG-84443
Change-Id: Ib18dfc8e12528c5086d07d6018cda93fb6e8d30c
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto/qquickapplicationwindow')
-rw-r--r-- | tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp b/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp index b2c0c272..b907f5c3 100644 --- a/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp +++ b/tests/auto/qquickapplicationwindow/tst_qquickapplicationwindow.cpp @@ -35,6 +35,7 @@ ****************************************************************************/ #include <qtest.h> +#include <QtCore/qoperatingsystemversion.h> #include <QtTest/QSignalSpy> #include <QtQml/qqmlengine.h> #include <QtQml/qqmlcomponent.h> @@ -763,6 +764,8 @@ void tst_QQuickApplicationWindow::focusAfterPopupClosed() void tst_QQuickApplicationWindow::clearFocusOnDestruction() { + if (QOperatingSystemVersion::current() <= QOperatingSystemVersion::Windows7) + QSKIP("Test requires a version of Windows newer than 7: QTBUG-84443"); if (!canImportModule("import QtGraphicalEffects 1.15; DropShadow {}")) QSKIP("Test requires QtGraphicalEffects"); |