From 3a811eae971a0ed64ac6c67a7ab6e0fa7e4b8e31 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Mon, 3 Oct 2022 11:17:19 +0200 Subject: [PATCH] Revert "tests: XFAIL tst_QOpenGL::bufferMapRange() on Wayland" This reverts commit e49d2daf1912f4b94678d077e1edc01fb37a1fb0. This doesn't fail on Wayland, perhaps a false alarm. Fixes: QTBUG-100918 Change-Id: I1415afdeaf1bff26dba3b3100b2aafcda00bcdd9 Reviewed-by: Eskil Abrahamsen Blomfeldt (cherry picked from commit f8898cae83f9efb8a93a99743f5107bd6ebd50ae) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/gui/qopengl/tst_qopengl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/auto/gui/qopengl/tst_qopengl.cpp b/tests/auto/gui/qopengl/tst_qopengl.cpp index 24fd7b04a63..3603d7d662c 100644 --- a/tests/auto/gui/qopengl/tst_qopengl.cpp +++ b/tests/auto/gui/qopengl/tst_qopengl.cpp @@ -1627,8 +1627,6 @@ void tst_QOpenGL::bufferMapRange() buf.unmap(); p = (char *) buf.mapRange(0, sizeof(data), QOpenGLBuffer::RangeRead); - if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive)) - QEXPECT_FAIL("", "This fails on Wayland, see QTBUG-100918.", Abort); QVERIFY(!strcmp(p, "sOMe data")); buf.unmap();