Disable _ccs tests when _M_IX86 isn't defined (MSVC 32 bit)

This commit is contained in:
Peter Dimov
2024-09-18 17:53:14 +03:00
parent 6403460e99
commit cdef91bff7
4 changed files with 32 additions and 2 deletions

View File

@ -6,6 +6,13 @@
//------------------------------------------------------------------------------
#if !defined(_M_IX86)
#include <boost/config/pragma_message.hpp>
BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is not defined")
#else
#define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS
#include <boost/mpl/assert.hpp>
@ -48,3 +55,4 @@ BOOST_MPL_ASSERT((
>
));
#endif

View File

@ -6,6 +6,13 @@
//------------------------------------------------------------------------------
#if !defined(_M_IX86)
#include <boost/config/pragma_message.hpp>
BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is not defined")
#else
#define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS
#include <boost/mpl/assert.hpp>
@ -69,3 +76,4 @@ BOOST_MPL_ASSERT_NOT((
ft::is_callable_builtin< ft::member_function_pointer<mpl::vector<int, C &>, cc>::type, dc >
));
#endif

View File

@ -6,6 +6,13 @@
//------------------------------------------------------------------------------
#if !defined(_M_IX86)
#include <boost/config/pragma_message.hpp>
BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is not defined")
#else
#define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS
#include <boost/mpl/assert.hpp>
@ -43,3 +50,4 @@ BOOST_MPL_ASSERT((
>
));
#endif

View File

@ -6,6 +6,13 @@
//------------------------------------------------------------------------------
#if !defined(_M_IX86)
#include <boost/config/pragma_message.hpp>
BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is not defined")
#else
#define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS
#include <boost/mpl/assert.hpp>
@ -58,5 +65,4 @@ BOOST_MPL_ASSERT_NOT((
ft::is_callable_builtin< ft::function_pointer<mpl::vector<void> >::type, cc >
));
#endif