From 3f448d96243a33da5cc251d5fbec4f02fd137040 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Thu, 17 Feb 2022 13:16:10 +0100 Subject: tests: XFAIL tst_QOpenGL::bufferMapRange() on Wayland MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-100918 Change-Id: I1b892a80bcb44e0e4f658ed7073c54900d8a358c Reviewed-by: Tor Arne Vestbø (cherry picked from commit e49d2daf1912f4b94678d077e1edc01fb37a1fb0) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/gui/qopengl/tst_qopengl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/auto/gui/qopengl/tst_qopengl.cpp b/tests/auto/gui/qopengl/tst_qopengl.cpp index a0a1ecca17..07e40f8f91 100644 --- a/tests/auto/gui/qopengl/tst_qopengl.cpp +++ b/tests/auto/gui/qopengl/tst_qopengl.cpp @@ -1647,6 +1647,8 @@ 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(); -- cgit v1.2.3