2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Disable slow to compile test.

This commit is contained in:
jzmaddock
2025-04-22 16:02:34 +01:00
parent 4a3d3bc66e
commit 9fc0965d57
2 changed files with 8 additions and 2 deletions

View File

@@ -550,8 +550,10 @@ void test_accuracy(T, const char* type_name)
do_test_nc_t<T>(nct_asym, type_name, "Non Central T (large parameters)");
quantile_sanity_check<T>(nct_asym, type_name, "Non Central T (large parameters)");
#ifndef BOOST_MP_TEST
#include "nc_t_pdf_data.ipp"
do_test_nc_t_pdf<T>(nc_t_pdf_data, type_name, "Non Central T PDF");
#endif
}
}

View File

@@ -26,11 +26,15 @@
#include <boost/test/unit_test.hpp>
#include <boost/test/tools/floating_point_comparison.hpp> // for BOOST_CHECK_CLOSE
#define SC_(x) static_cast<T>(BOOST_STRINGIZE(x))
#define SC_(x) static_cast<typename table_type<T>::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 <iostream>
@@ -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