From 7b115c8d0e4d590658e7d5d5cbcc8a52fb9650d5 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 19 May 2018 19:45:10 +0100 Subject: [PATCH] Tests: disable some failing tests for msvc-11.0. --- test/has_trivial_move_assign_test.cpp | 2 ++ test/has_trivial_move_constructor_test.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/has_trivial_move_assign_test.cpp b/test/has_trivial_move_assign_test.cpp index 32a415d..fd8b3c9 100644 --- a/test/has_trivial_move_assign_test.cpp +++ b/test/has_trivial_move_assign_test.cpp @@ -232,8 +232,10 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_assign BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_assign::value, false); // Why does this fail on multiple compilers?? //BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_assign::value, true); +#if !BOOST_WORKAROUND(BOOST_MSVC, < 1800) BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_assign::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_assign::value, true); +#endif /* BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_assign >::value, false); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_assign >::value, true); diff --git a/test/has_trivial_move_constructor_test.cpp b/test/has_trivial_move_constructor_test.cpp index b60d23f..26894c9 100644 --- a/test/has_trivial_move_constructor_test.cpp +++ b/test/has_trivial_move_constructor_test.cpp @@ -232,8 +232,10 @@ BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_constructor::value, false); // Why does this fail on multiple compilers?? //BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_constructor::value, true); +#if !BOOST_WORKAROUND(BOOST_MSVC, < 1800) BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_constructor::value, true); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_constructor::value, true); +#endif /* BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_constructor >::value, false); BOOST_CHECK_INTEGRAL_CONSTANT(::tt::has_trivial_move_constructor >::value, true);