diff options
author | Liang Qi <liang.qi@qt.io> | 2022-02-16 12:17:22 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-17 01:44:08 +0000 |
commit | bff9584372934336eeacd5db147d9ff3da269b33 (patch) | |
tree | dc2823a058c1d883f1d780895812aa67e316b229 | |
parent | b8e6256b435efde4655678702e752f6ca27dcf6f (diff) | |
download | qtbase-bff9584372934336eeacd5db147d9ff3da269b33.tar.gz |
tests: XFAIL tst_QGuiApplication::genericPluginsAndWindowSystemEvents()
on Wayland
Task-number: QTBUG-100891
Change-Id: Iadf12364ded4549988ad75a9487c7e96e963a956
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit ae1197fc5644c653fbc652b6008b83b5b11def85)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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 c8fedbf8fc..5bba56eb43 100644 --- a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp +++ b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp @@ -1029,6 +1029,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); |