From f4fe679d7bbb8e8d5603308931ebbbe4ec4c5363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 27 Sep 2022 20:18:46 +0200 Subject: [PATCH] GL: it's time to add an XFAIL to this test. Mesa 21.2 (or was it 21.1.5?) that broke this is over a year old, I can't be skipping the tests forever like this. --- src/Magnum/GL/Test/TextureGLTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Magnum/GL/Test/TextureGLTest.cpp b/src/Magnum/GL/Test/TextureGLTest.cpp index c90aba627..cdb29b054 100644 --- a/src/Magnum/GL/Test/TextureGLTest.cpp +++ b/src/Magnum/GL/Test/TextureGLTest.cpp @@ -2480,6 +2480,8 @@ void TextureGLTest::subImage3DQueryBuffer() { MAGNUM_VERIFY_NO_GL_ERROR(); CORRADE_COMPARE(image.size(), Vector3i{2}); + CORRADE_EXPECT_FAIL_IF(Context::current().detectedDriver() & Context::DetectedDriver::Mesa, + "Mesa has this broken since 21.2, worked fine with 21.1."); CORRADE_COMPARE_AS(Containers::arrayCast(imageData).exceptPrefix(PixelStorage3DData[testCaseInstanceId()].offset), PixelStorage3DData[testCaseInstanceId()].data, TestSuite::Compare::Container);