From c585d7466969387402114650b0387afd428852ce Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Sun, 16 Dec 2018 11:55:04 +0300 Subject: [PATCH] Disable part of the tests for _MSC_VER == 1916 and below --- test/type_index_constexpr_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/type_index_constexpr_test.cpp b/test/type_index_constexpr_test.cpp index d267fad..ea38aa2 100644 --- a/test/type_index_constexpr_test.cpp +++ b/test/type_index_constexpr_test.cpp @@ -100,7 +100,8 @@ void constexpr_test() { BOOST_CXX14_CONSTEXPR ctti_type_index t_short1 = ctti_type_index::type_id(); (void)t_short1; -#if !defined(_MSC_VER) || _MSC_VER >= 1916 +// Following tests are known to fail on _MSC_VER == 1916. +#if !defined(_MSC_VER) || _MSC_VER > 1916 BOOST_CXX14_CONSTEXPR bool same0 = (t_int0 == t_int1); BOOST_TEST(same0); @@ -143,7 +144,7 @@ void constexpr_test() { BOOST_CXX14_CONSTEXPR bool not_in_namespace = !is_boost_namespace(); BOOST_TEST(not_in_namespace); -#endif // #if !defined(_MSC_VER) || _MSC_VER >= 1916 +#endif // #if !defined(_MSC_VER) || _MSC_VER > 1916 }