Conditionally disable MP testing for pFq

This commit is contained in:
Matt Borland 2023-03-07 07:53:53 -08:00
parent e06292f69f
commit d3a3dd3620
No known key found for this signature in database
GPG Key ID: 1FC9FE1989F22A0B
7 changed files with 29 additions and 1 deletions

View File

@ -81,11 +81,15 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#if !defined(TEST) || (TEST == 3)
#if defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#endif
#if !defined(TEST) || (TEST == 4)
#if defined(BOOST_MATH_RUN_MP_TESTS)
typedef boost::multiprecision::number<boost::multiprecision::cpp_dec_float<40> > dec_40;
test_spots(dec_40(), "dec_40");
#endif
#endif
}

View File

@ -24,10 +24,14 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#if !defined(TEST) || (TEST == 2)
#if defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad());
#endif
#endif
#if !defined(TEST) || (TEST == 3)
#if (!defined(TEST) || (TEST == 3))
#if defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_dec_float_50());
#endif
#endif
}

View File

@ -195,11 +195,15 @@ BOOST_AUTO_TEST_CASE( test_main )
// These next 2 tests take effectively "forever" to compile with clang:
//
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__)
#if defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#endif
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__)
#if defined(BOOST_MATH_RUN_MP_TESTS)
typedef boost::multiprecision::number<boost::multiprecision::cpp_bin_float<40> > dec_40;
test_spots(dec_40(), "dec_40");
#endif
#endif
}

View File

@ -184,11 +184,15 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__)
#if defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#endif
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__)
#if defined(BOOST_MATH_RUN_MP_TESTS)
typedef boost::multiprecision::number<boost::multiprecision::cpp_bin_float<40> > dec_40;
test_spots(dec_40(), "dec_40");
#endif
#endif
}

View File

@ -186,11 +186,15 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__)
#if defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#endif
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__)
#if defined(BOOST_MATH_RUN_MP_TESTS)
typedef boost::multiprecision::number<boost::multiprecision::cpp_bin_float<40> > dec_40;
test_spots(dec_40(), "dec_40");
#endif
#endif
}

View File

@ -104,11 +104,15 @@ BOOST_AUTO_TEST_CASE( test_main )
#ifndef BOOST_MATH_NO_MP_TESTS
#if !defined(TEST) || (TEST == 3)
#if defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#endif
#if !defined(TEST) || (TEST == 4)
#if defined(BOOST_MATH_RUN_MP_TESTS)
using dec_40 = boost::multiprecision::number<boost::multiprecision::cpp_dec_float<40>>;
test_spots(dec_40(), "dec_40");
#endif
#endif
#endif
}

View File

@ -35,11 +35,15 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__)
#if defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#endif
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__)
#if defined(BOOST_MATH_RUN_MP_TESTS)
typedef boost::multiprecision::number<boost::multiprecision::cpp_bin_float<40> > dec_40;
test_spots(dec_40(), "dec_40");
#endif
#endif
#endif
}