Skip to content

Commit

Permalink
Conditionally disable MP testing for pFq
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Mar 6, 2023
1 parent e06292f commit f26654c
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions test/test_0F1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#endif
#if !defined(TEST) || (TEST == 3)
#if (!defined(TEST) || (TEST == 3)) && defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#if !defined(TEST) || (TEST == 4)
#if (!defined(TEST) || (TEST == 4)) && 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
Expand Down
4 changes: 2 additions & 2 deletions test/test_1F0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#endif
#if !defined(TEST) || (TEST == 2)
#if (!defined(TEST) || (TEST == 2)) && defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad());
#endif
#if !defined(TEST) || (TEST == 3)
#if (!defined(TEST) || (TEST == 3)) && defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_dec_float_50());
#endif
}
Expand Down
4 changes: 2 additions & 2 deletions test/test_1F1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ 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(TEST) || (TEST == 6)) && !defined(__clang__) && defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__)
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__) && 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
Expand Down
4 changes: 2 additions & 2 deletions test/test_1F1_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#endif
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__)
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__) && defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__)
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__) && 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
Expand Down
4 changes: 2 additions & 2 deletions test/test_1F1_regularized.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#endif
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__)
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__) && defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__)
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__) && 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
Expand Down
2 changes: 1 addition & 1 deletion test/test_2F0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ BOOST_AUTO_TEST_CASE( test_main )
#define BOOST_MATH_NO_MP_TESTS
#endif

#ifndef BOOST_MATH_NO_MP_TESTS
#if defined(BOOST_MATH_RUN_MP_TESTS)
#if !defined(TEST) || (TEST == 3)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
Expand Down
4 changes: 2 additions & 2 deletions test/test_pFq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ BOOST_AUTO_TEST_CASE( test_main )
#endif
#endif
#endif
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__)
#if (!defined(TEST) || (TEST == 6)) && !defined(__clang__) && defined(BOOST_MATH_RUN_MP_TESTS)
test_spots(boost::multiprecision::cpp_bin_float_quad(), "cpp_bin_float_quad");
#endif
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__)
#if (!defined(TEST) || (TEST == 7)) && !defined(__clang__) && 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
Expand Down

0 comments on commit f26654c

Please sign in to comment.