diff options
author | Liang Qi <liang.qi@qt.io> | 2022-02-17 13:16:10 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2022-03-02 15:37:33 +0100 |
commit | e49d2daf1912f4b94678d077e1edc01fb37a1fb0 (patch) | |
tree | 952743de852f811a15df98d8a02c22800b19de0a /tests/auto/gui | |
parent | 2b3d11383e0c08d465b4799e470a87b48a2dbbaa (diff) |
tests: XFAIL tst_QOpenGL::bufferMapRange() on Wayland
Task-number: QTBUG-100918
Pick-to: 6.3 6.2
Change-Id: I1b892a80bcb44e0e4f658ed7073c54900d8a358c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/auto/gui')
-rw-r--r-- | tests/auto/gui/qopengl/tst_qopengl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |