Skip to content

Commit

Permalink
Disable part of the tests for _MSC_VER == 1916 and below
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin committed Dec 16, 2018
1 parent 32909cb commit c585d74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/type_index_constexpr_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ void constexpr_test() {
BOOST_CXX14_CONSTEXPR ctti_type_index t_short1 = ctti_type_index::type_id<short>();
(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);
Expand Down Expand Up @@ -143,7 +144,7 @@ void constexpr_test() {
BOOST_CXX14_CONSTEXPR bool not_in_namespace = !is_boost_namespace<std::string>();
BOOST_TEST(not_in_namespace);

#endif // #if !defined(_MSC_VER) || _MSC_VER >= 1916
#endif // #if !defined(_MSC_VER) || _MSC_VER > 1916
}


Expand Down

0 comments on commit c585d74

Please sign in to comment.