From f8898cae83f9efb8a93a99743f5107bd6ebd50ae 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 Pick-to: 6.4 6.2 Change-Id: I1415afdeaf1bff26dba3b3100b2aafcda00bcdd9 Reviewed-by: Eskil Abrahamsen Blomfeldt --- 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 0d74a185b80..09554a542fa 100644 --- a/tests/auto/gui/qopengl/tst_qopengl.cpp +++ b/tests/auto/gui/qopengl/tst_qopengl.cpp @@ -1636,8 +1636,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();