From ae1197fc5644c653fbc652b6008b83b5b11def85 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Wed, 16 Feb 2022 12:17:22 +0100 Subject: tests: XFAIL tst_QGuiApplication::genericPluginsAndWindowSystemEvents() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit on Wayland Task-number: QTBUG-100891 Pick-to: 6.3 6.2 Change-Id: Iadf12364ded4549988ad75a9487c7e96e963a956 Reviewed-by: Tor Arne Vestbø --- tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp') 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); -- cgit v1.2.3