Skip to content

Commit

Permalink
Disable deprecated complex functions tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Sep 17, 2024
1 parent bbb8eee commit 0f2cda1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
4 changes: 3 additions & 1 deletion test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,9 @@ test-suite distribution_tests :
[ run test_lexical_cast.cpp /boost/test//boost_unit_test_framework ]
[ run test_nonfinite_trap.cpp /boost/test//boost_unit_test_framework : : : <exception-handling>off:<build>no ]
[ run test_signed_zero.cpp /boost/test//boost_unit_test_framework ]
[ run complex_test.cpp /boost/test//boost_unit_test_framework ]

# Deprecated for a few cycles, and now causes collisions with boost::math::complex
# [ run complex_test.cpp /boost/test//boost_unit_test_framework ]

[ compile test_dist_deduction_guides.cpp : [ requires cpp_deduction_guides cpp_variadic_templates ] ]
[ run git_issue_800.cpp /boost/test//boost_unit_test_framework ]
Expand Down
17 changes: 7 additions & 10 deletions test/special_functions_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ typedef boost::mpl::list<float,double,long double> near_eps_test_types;

#include "sinc_test.hpp"
#include "sinhc_test.hpp"
#include "atanh_test.hpp"
#include "asinh_test.hpp"
#include "acosh_test.hpp"


// Deprecated and cause collisions with cuda::std::complex
//#include "atanh_test.hpp"
//#include "asinh_test.hpp"
//#include "acosh_test.hpp"

boost::unit_test::test_suite * init_unit_test_suite(int, char *[])
{
Expand All @@ -83,9 +83,6 @@ boost::unit_test::test_suite * init_unit_test_suite(int, char *[])


#define BOOST_SPECIAL_FUNCTIONS_COMMON_TEST \
BOOST_SPECIAL_FUNCTIONS_COMMON_GENERATOR(atanh) \
BOOST_SPECIAL_FUNCTIONS_COMMON_GENERATOR(asinh) \
BOOST_SPECIAL_FUNCTIONS_COMMON_GENERATOR(acosh) \
BOOST_SPECIAL_FUNCTIONS_COMMON_GENERATOR(sinc_pi) \
BOOST_SPECIAL_FUNCTIONS_COMMON_GENERATOR(sinhc_pi)

Expand Down Expand Up @@ -134,9 +131,9 @@ boost::unit_test::test_suite * init_unit_test_suite(int, char *[])

BOOST_TEST_MESSAGE(" ");

test->add(BOOST_TEST_CASE(atanh_manual_check));
test->add(BOOST_TEST_CASE(asinh_manual_check));
test->add(BOOST_TEST_CASE(acosh_manual_check));
// test->add(BOOST_TEST_CASE(atanh_manual_check));
// test->add(BOOST_TEST_CASE(asinh_manual_check));
// test->add(BOOST_TEST_CASE(acosh_manual_check));
test->add(BOOST_TEST_CASE(sinc_pi_manual_check));
test->add(BOOST_TEST_CASE(sinhc_pi_manual_check));

Expand Down

0 comments on commit 0f2cda1

Please sign in to comment.