From 7f0783162b95b9bdede4c8eefc47a6c3211e544c Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Fri, 30 Sep 2022 21:08:08 +0200 Subject: [PATCH] Revert "tests: XFAIL tst_QGuiApplication::genericPluginsAndWindowSystemEvents()" This reverts commit ae1197fc5644c653fbc652b6008b83b5b11def85. This doesn't fail on Wayland, perhaps a false alarm. Fixes: QTBUG-100891 Change-Id: I3e1d2488b090f186c64d63cb6c9f97dfaafc8fff Reviewed-by: Liang Qi (cherry picked from commit 5ddb01503839a3e1cebd59f4218ebecfd05e42e5) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp index e8c283252ec..d51b7af484e 100644 --- a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp +++ b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp @@ -1130,8 +1130,6 @@ 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);