Browse Source

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.
pull/595/head
Vladimír Vondruš 4 years ago
parent
commit
f4fe679d7b
  1. 2
      src/Magnum/GL/Test/TextureGLTest.cpp

2
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<UnsignedByte>(imageData).exceptPrefix(PixelStorage3DData[testCaseInstanceId()].offset),
PixelStorage3DData[testCaseInstanceId()].data,
TestSuite::Compare::Container);

Loading…
Cancel
Save