about summary refs log tree commit diff
path: root/math/gen-libm-test.py
diff options
context:
space:
mode:
authorWilco Dijkstra <Wilco.Dijkstra@arm.com>2019-07-16 10:39:56 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-10-21 08:47:07 -0300
commit55d530114ef3513eb8588e31e3850f04ac608077 (patch)
tree187503865e68743e43207189be3d4849bfb66ded /math/gen-libm-test.py
parent7bdb921d70bf9f93948e2e311fef9ef439314e41 (diff)
downloadglibc-55d530114ef3513eb8588e31e3850f04ac608077.tar.gz
glibc-55d530114ef3513eb8588e31e3850f04ac608077.tar.xz
glibc-55d530114ef3513eb8588e31e3850f04ac608077.zip
Remove finite-math tests
Remove the finite-math tests from the testsuite - these are no longer
useful after removing math-finite.h header.

Passes buildmanyglibc, build&test on x86_64 and AArch64.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'math/gen-libm-test.py')
-rwxr-xr-xmath/gen-libm-test.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/math/gen-libm-test.py b/math/gen-libm-test.py
index 81d82ceb12..01e0d2397c 100755
--- a/math/gen-libm-test.py
+++ b/math/gen-libm-test.py
@@ -341,9 +341,6 @@ def apply_lit(arg, macro):
 
 def gen_test_args_res(descr_args, descr_res, args, res_rm):
     """Generate a test given the arguments and per-rounding-mode results."""
-    # Determine whether any arguments or results, for any rounding
-    # mode, are non-finite.
-    non_finite = False
     test_snan = False
     all_args_res = list(args)
     for r in res_rm:
@@ -351,10 +348,6 @@ def gen_test_args_res(descr_args, descr_res, args, res_rm):
     for a in all_args_res:
         if 'snan_value' in a:
             test_snan = True
-            non_finite = True
-        elif ('qnan_value' in a or 'plus_infty' in a or 'minus_infty' in a
-              or 'plus_oflow' in a or 'minus_oflow' in a):
-            non_finite = True
     # Process the arguments.
     args_disp = []
     args_c = []
@@ -422,8 +415,6 @@ def gen_test_args_res(descr_args, descr_res, args, res_rm):
         flags = []
         if ignore_result_any:
             flags.append('IGNORE_RESULT')
-        if non_finite:
-            flags.append('NON_FINITE')
         if test_snan:
             flags.append('TEST_SNAN')
         flags.append(res[res_pos])