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. 16
      src/Magnum/Test/MeshGLTest.cpp

16
src/Magnum/Test/MeshGLTest.cpp

@ -725,7 +725,13 @@ 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_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576));
{
CORRADE_EXPECT_FAIL("Somehow only first two values are extracted");
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
@ -782,7 +788,13 @@ 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_COMPARE(value, Math::Vector3<UnsignedShort>(315, 65201, 2576));
{
CORRADE_EXPECT_FAIL("Somehow only first two values are extracted");
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

Loading…
Cancel
Save