diff --git a/test/test_nc_t.hpp b/test/test_nc_t.hpp index 65af7e647..8e0edabdc 100644 --- a/test/test_nc_t.hpp +++ b/test/test_nc_t.hpp @@ -550,8 +550,10 @@ void test_accuracy(T, const char* type_name) do_test_nc_t(nct_asym, type_name, "Non Central T (large parameters)"); quantile_sanity_check(nct_asym, type_name, "Non Central T (large parameters)"); +#ifndef BOOST_MP_TEST #include "nc_t_pdf_data.ipp" do_test_nc_t_pdf(nc_t_pdf_data, type_name, "Non Central T PDF"); +#endif } } diff --git a/test/test_nc_t_quad.cpp b/test/test_nc_t_quad.cpp index 5b7ac27d3..4c544bc24 100644 --- a/test/test_nc_t_quad.cpp +++ b/test/test_nc_t_quad.cpp @@ -26,11 +26,15 @@ #include #include // for BOOST_CHECK_CLOSE -#define SC_(x) static_cast(BOOST_STRINGIZE(x)) +#define SC_(x) static_cast::type>(BOOST_STRINGIZE(x)) #include "functor.hpp" #include "handle_test_result.hpp" #include "table_type.hpp" +// +// define this otherwise compile times are too long: +// +#define BOOST_MP_TEST #include "test_nc_t.hpp" #include @@ -93,7 +97,7 @@ BOOST_AUTO_TEST_CASE( test_main ) expected_results(); #ifndef DISABLE_THIS_TEST #if !BOOST_WORKAROUND(BOOST_MSVC, < 1920) - test_spots(boost::multiprecision::cpp_bin_float_quad(0)); + //test_spots(boost::multiprecision::cpp_bin_float_quad(0)); #endif test_accuracy(boost::multiprecision::cpp_bin_float_quad(0), "cpp_bin_float_quad"); #endif