diff options
author | Liang Qi <liang.qi@qt.io> | 2022-02-16 12:17:22 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2022-02-17 00:34:50 +0100 |
commit | ae1197fc5644c653fbc652b6008b83b5b11def85 (patch) | |
tree | 1db76cc279361a20e9b37b5cff45b8cd99f58498 /tests/auto/gui | |
parent | c1b68869590a96c4d448ab3e9b7b18213ec65c0c (diff) |
tests: XFAIL tst_QGuiApplication::genericPluginsAndWindowSystemEvents()
on Wayland
Task-number: QTBUG-100891
Pick-to: 6.3 6.2
Change-Id: Iadf12364ded4549988ad75a9487c7e96e963a956
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/gui')
-rw-r--r-- | tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp index 836419659b..5eab76898b 100644 --- a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp +++ b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp @@ -1146,6 +1146,8 @@ void tst_QGuiApplication::genericPluginsAndWindowSystemEvents() QVERIFY(QGuiApplication::primaryScreen()); QCOMPARE(QGuiApplication::primaryScreen()->orientation(), testOrientationToSend); + if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) + QEXPECT_FAIL("", "Wayland: This fails. See QTBUG-100891.", Abort); QCOMPARE(testReceiver.customEvents, 0); QCoreApplication::sendPostedEvents(&testReceiver); QCOMPARE(testReceiver.customEvents, 1); |