diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-03-02 15:23:40 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-03-06 20:01:52 +0000 |
commit | 8fc66907480d986a42ad980ee5a68e7098c5a9d2 (patch) | |
tree | ba39ee5f5378b979329a92bbe5c53ea60e41ac11 /tests/auto/gui | |
parent | 9e9dc58847d57baeb6033237fa31c08894643ccc (diff) |
Skip failing tests in tst_QWindow on Wayland
Task-number: QTBUG-66824
Change-Id: I33b826c2a373b264cc9b66444c52070eac1cdd5c
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/gui')
-rw-r--r-- | tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index d2c3f4a56b..f4097e36ff 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -1337,6 +1337,9 @@ void tst_QWindow::touchCancelWithTouchToMouse() void tst_QWindow::touchInterruptedByPopup() { + if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive)) + QSKIP("Wayland: This test crashes with xdg-shell unstable v6"); + InputTestWindow window; window.setGeometry(QRect(m_availableTopLeft + QPoint(80, 80), m_testWindowSize)); window.show(); @@ -2029,6 +2032,9 @@ void tst_QWindow::modalWindowPosition() #ifndef QT_NO_CURSOR void tst_QWindow::modalWindowEnterEventOnHide_QTBUG35109() { + if (!QGuiApplication::platformName().compare(QLatin1String("wayland"), Qt::CaseInsensitive)) + QSKIP("Wayland: QWindow::requestActivate() is not supported"); + if (isPlatformOffscreenOrMinimal()) QSKIP("Can't test window focusing on offscreen/minimal"); |