Browse Source

Expect failure in MeshGLTest.

After updating my NVidia drivers the double matrix tests are extracting
only the first two values and I don't know why.
pull/68/head
Vladimír Vondruš 12 years ago
parent
commit
f7f28bafde
  1. 12
      src/Magnum/Test/MeshGLTest.cpp

12
src/Magnum/Test/MeshGLTest.cpp

@ -725,8 +725,14 @@ void MeshGLTest::addVertexBufferMatrixNxNd() {
RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort); RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort);
MAGNUM_VERIFY_NO_ERROR(); MAGNUM_VERIFY_NO_ERROR();
{
CORRADE_EXPECT_FAIL("Somehow only first two values are extracted");
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576)); CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576));
} }
/* This is wrong, but check if it's still the right wrong */
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 0));
}
#endif #endif
#ifndef MAGNUM_TARGET_GLES2 #ifndef MAGNUM_TARGET_GLES2
@ -782,8 +788,14 @@ void MeshGLTest::addVertexBufferMatrixMxNd() {
RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort); RenderbufferFormat::RGBA16, mesh).get<Math::Vector3<UnsignedShort>>(ColorFormat::RGB, ColorType::UnsignedShort);
MAGNUM_VERIFY_NO_ERROR(); MAGNUM_VERIFY_NO_ERROR();
{
CORRADE_EXPECT_FAIL("Somehow only first two values are extracted");
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576)); CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576));
} }
/* This is wrong, but check if it's still the right wrong */
CORRADE_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 0));
}
#endif #endif
#ifndef MAGNUM_TARGET_GLES2 #ifndef MAGNUM_TARGET_GLES2

Loading…
Cancel
Save