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 <eskil.abrahamsen-blomfeldt@qt.io>
(cherry picked from commit f8898cae83f9efb8a93a99743f5107bd6ebd50ae)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Liang Qi 2022-10-03 11:17:19 +02:00
parent 09b39af9bc
commit 3a811eae97

View File

@ -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();