summary refs log tree commit diff
path: root/math/libm-test-issignaling.inc
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-01-04 17:40:04 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-01-04 20:49:56 +0530
commit8cc1e39a3691a8cba7c6033138531f11d3032385 (patch)
treed4ecb8f953c6c6ec3f081127f9dc0fe9c310d605 /math/libm-test-issignaling.inc
parent252864544afa45feb28f8ef505056f17eccd3073 (diff)
downloadglibc-8cc1e39a3691a8cba7c6033138531f11d3032385.tar.gz
glibc-8cc1e39a3691a8cba7c6033138531f11d3032385.tar.xz
glibc-8cc1e39a3691a8cba7c6033138531f11d3032385.zip
Drop nan-pseudo-number.h usage from tests
Make the tests use TEST_COND_intel96 to decide on whether to build the
unnormal tests instead of the macro in nan-pseudo-number.h and then
drop the header inclusion.  This unbreaks test runs on all
architectures that do not have ldbl-96.

Also drop the HANDLE_PSEUDO_NUMBERS macro since it is not used
anywhere.
Diffstat (limited to 'math/libm-test-issignaling.inc')
-rw-r--r--math/libm-test-issignaling.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/libm-test-issignaling.inc b/math/libm-test-issignaling.inc
index cc7c801e29..bea61a3664 100644
--- a/math/libm-test-issignaling.inc
+++ b/math/libm-test-issignaling.inc
@@ -39,7 +39,7 @@ static const struct test_f_i_data issignaling_test_data[] =
     TEST_f_b (issignaling, -snan_value_MACRO, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
   };
 
-#if HANDLE_PSEUDO_NUMBERS
+#if TEST_COND_intel96
 static const struct test_f_i_data_u issignaling_test_data_u[] =
   {
     TEST_f_b (issignaling, pseudo_zero, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
@@ -54,7 +54,7 @@ static void
 issignaling_test (void)
 {
   ALL_RM_TEST (issignaling, 1, issignaling_test_data, RUN_TEST_LOOP_f_b_tg, END);
-#if HANDLE_PSEUDO_NUMBERS
+#if TEST_COND_intel96
   ALL_RM_TEST (issignaling, 1, issignaling_test_data_u, RUN_TEST_LOOP_f_b_tg_u, END);
 #endif
 }