Commit 74437a9b authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

disable TestNumberToString on MSVC 2013.

TestNumberToString fails beyond the case we ignored in 2ea0325f. Just
removing the test of MSVC 2013.
parent 42f79555
set(extra_tests)
if ((NOT DEFINED MSVC_VERSION) OR (MSVC_VERSION GREATER 1800))
# skip this test on MSVC 2013 or older.
set(extra_tests
TestNumberToString.cxx)
endif()
vtk_add_test_cxx(vtkIOCoreCxxTests tests
NO_VALID
TestArrayDataWriter.cxx
......@@ -6,6 +13,6 @@ vtk_add_test_cxx(vtkIOCoreCxxTests tests
TestCompressLZ4.cxx
TestCompressZLib.cxx
TestCompressLZMA.cxx
TestNumberToString.cxx
${extra_tests}
)
vtk_test_cxx_executable(vtkIOCoreCxxTests tests)
......@@ -174,12 +174,8 @@ int ConvertNumericLimitsValue(const char* t, T)
convertedStream >> convertedValue;
if (value != convertedValue)
{
#if (!defined(_MSC_VER)) || (_MSC_VER > 1800)
std::cout << "ERROR: Bad conversion of std::min" << std::endl;
status = EXIT_FAILURE;
#else
std::cout << "WARNING: Bad conversion of std::min (ignored on MSVC 2013 and older)" << std::endl;
#endif
}
}
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment