From 5ddb01503839a3e1cebd59f4218ebecfd05e42e5 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 Pick-to: 6.4 6.2 Change-Id: I3e1d2488b090f186c64d63cb6c9f97dfaafc8fff Reviewed-by: Liang Qi --- 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 f1851e72bc..0ff9276902 100644 --- a/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp +++ b/tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp @@ -1138,8 +1138,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);