From 97726acabf86230470e90f44be2c384a9934159c Mon Sep 17 00:00:00 2001 From: Nick Thompson Date: Wed, 24 Jan 2024 13:07:35 -0800 Subject: [PATCH] Remove test of deprecated functionality The CI build logs are getting hard to read. Slowly chip away at the warnings emitted. --- test/Jamfile.v2 | 12 --------- test/compile_test/compl_acos_incl_test.cpp | 28 --------------------- test/compile_test/compl_acosh_incl_test.cpp | 28 --------------------- test/compile_test/compl_asin_incl_test.cpp | 28 --------------------- test/compile_test/compl_asinh_incl_test.cpp | 28 --------------------- test/compile_test/compl_atan_incl_test.cpp | 28 --------------------- test/compile_test/compl_atanh_incl_test.cpp | 28 --------------------- 7 files changed, 180 deletions(-) delete mode 100644 test/compile_test/compl_acos_incl_test.cpp delete mode 100644 test/compile_test/compl_acosh_incl_test.cpp delete mode 100644 test/compile_test/compl_asin_incl_test.cpp delete mode 100644 test/compile_test/compl_asinh_incl_test.cpp delete mode 100644 test/compile_test/compl_atan_incl_test.cpp delete mode 100644 test/compile_test/compl_atanh_incl_test.cpp diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 78637fe99c..657a2de25d 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -1066,12 +1066,6 @@ test-suite misc : [ compile compile_test/interpolators_vector_barycentric_rational_incl_test.cpp : [ requires cxx11_smart_ptr cxx11_defaulted_functions cxx11_auto_declarations ] [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] [ compile compile_test/interpolators_whittaker_shannon_incl_test.cpp : [ requires cxx11_smart_ptr cxx11_defaulted_functions cxx11_auto_declarations ] [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] [ run compile_test/compl_abs_incl_test.cpp compile_test_main : : : [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] - [ run compile_test/compl_acos_incl_test.cpp compile_test_main : : : [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] - [ run compile_test/compl_acosh_incl_test.cpp compile_test_main : : : [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] - [ run compile_test/compl_asin_incl_test.cpp compile_test_main : : : [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] - [ run compile_test/compl_asinh_incl_test.cpp compile_test_main : : : [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] - [ run compile_test/compl_atan_incl_test.cpp compile_test_main : : : [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] - [ run compile_test/compl_atanh_incl_test.cpp compile_test_main : : : [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] [ run compile_test/sf_1f0_incl_test.cpp compile_test_main : : : [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] [ run compile_test/sf_0f1_incl_test.cpp compile_test_main : : : [ check-target-builds ../config//is_ci_sanitizer_run "Sanitizer CI run" : no ] ] @@ -1559,12 +1553,6 @@ test-suite float128_tests : [ get_float128_tests ] ; # alias no_eh_tests : compl_abs_incl_test - compl_acos_incl_test - compl_acosh_incl_test - compl_asin_incl_test - compl_asinh_incl_test - compl_atan_incl_test - compl_atanh_incl_test sf_acosh_incl_test sf_asinh_incl_test sf_atanh_incl_test diff --git a/test/compile_test/compl_acos_incl_test.cpp b/test/compile_test/compl_acos_incl_test.cpp deleted file mode 100644 index 428ea19d31..0000000000 --- a/test/compile_test/compl_acos_incl_test.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright John Maddock 2006. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// Basic sanity check that header -// #includes all the files that it needs to. -// -#include - -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} - -#include "test_compile_result.hpp" - - - -void compile_and_link_test() -{ - check_result >(boost::math::acos(std::complex())); - check_result >(boost::math::acos(std::complex())); -#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS - check_result >(boost::math::acos(std::complex())); -#endif -} - - diff --git a/test/compile_test/compl_acosh_incl_test.cpp b/test/compile_test/compl_acosh_incl_test.cpp deleted file mode 100644 index 4b5ce873fb..0000000000 --- a/test/compile_test/compl_acosh_incl_test.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright John Maddock 2006. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// Basic sanity check that header -// #includes all the files that it needs to. -// -#include - -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} - -#include "test_compile_result.hpp" - - - -void compile_and_link_test() -{ - check_result >(boost::math::acosh(std::complex())); - check_result >(boost::math::acosh(std::complex())); -#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS - check_result >(boost::math::acosh(std::complex())); -#endif -} - - diff --git a/test/compile_test/compl_asin_incl_test.cpp b/test/compile_test/compl_asin_incl_test.cpp deleted file mode 100644 index d6c6020964..0000000000 --- a/test/compile_test/compl_asin_incl_test.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright John Maddock 2006. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// Basic sanity check that header -// #includes all the files that it needs to. -// -#include - -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} - -#include "test_compile_result.hpp" - - - -void compile_and_link_test() -{ - check_result >(boost::math::asin(std::complex())); - check_result >(boost::math::asin(std::complex())); -#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS - check_result >(boost::math::asin(std::complex())); -#endif -} - - diff --git a/test/compile_test/compl_asinh_incl_test.cpp b/test/compile_test/compl_asinh_incl_test.cpp deleted file mode 100644 index e4f8e74ee3..0000000000 --- a/test/compile_test/compl_asinh_incl_test.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright John Maddock 2006. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// Basic sanity check that header -// #includes all the files that it needs to. -// -#include - -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} - -#include "test_compile_result.hpp" - - - -void compile_and_link_test() -{ - check_result >(boost::math::asinh(std::complex())); - check_result >(boost::math::asinh(std::complex())); -#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS - check_result >(boost::math::asinh(std::complex())); -#endif -} - - diff --git a/test/compile_test/compl_atan_incl_test.cpp b/test/compile_test/compl_atan_incl_test.cpp deleted file mode 100644 index 83877a68ef..0000000000 --- a/test/compile_test/compl_atan_incl_test.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright John Maddock 2006. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// Basic sanity check that header -// #includes all the files that it needs to. -// -#include - -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} - -#include "test_compile_result.hpp" - - - -void compile_and_link_test() -{ - check_result >(boost::math::atan(std::complex())); - check_result >(boost::math::atan(std::complex())); -#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS - check_result >(boost::math::atan(std::complex())); -#endif -} - - diff --git a/test/compile_test/compl_atanh_incl_test.cpp b/test/compile_test/compl_atanh_incl_test.cpp deleted file mode 100644 index bface310d1..0000000000 --- a/test/compile_test/compl_atanh_incl_test.cpp +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright John Maddock 2006. -// Use, modification and distribution are subject to the -// Boost Software License, Version 1.0. (See accompanying file -// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -// -// Basic sanity check that header -// #includes all the files that it needs to. -// -#include - -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} -inline void check_result_imp(std::complex, std::complex){} - -#include "test_compile_result.hpp" - - - -void compile_and_link_test() -{ - check_result >(boost::math::atanh(std::complex())); - check_result >(boost::math::atanh(std::complex())); -#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS - check_result >(boost::math::atanh(std::complex())); -#endif -} - -