]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/gen-libm-test.py
Fix the inaccuracy of j0f/j1f/y0f/y1f [BZ #14469, #14470, #14471, #14472]
[thirdparty/glibc.git] / math / gen-libm-test.py
index 01e0d2397c612d30f462d4fffe474d2c24469d88..e849d84f345c66ee63828a33b255399b94c109f9 100755 (executable)
@@ -1,6 +1,6 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # Generate tests for libm functions.
-# Copyright (C) 2018-2019 Free Software Foundation, Inc.
+# Copyright (C) 2018-2021 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 #
 # The GNU C Library is free software; you can redistribute it and/or
@@ -24,8 +24,7 @@ import re
 
 
 # Sorted list of all float types in ulps files.
-ALL_FLOATS = ('double', 'float', 'float128', 'idouble',
-              'ifloat', 'ifloat128', 'ildouble', 'ldouble')
+ALL_FLOATS = ('double', 'float', 'float128', 'ldouble')
 
 # Map float types in ulps files to C-like prefix for macros.
 ALL_FLOATS_PFX = {'double': 'DBL',
@@ -94,7 +93,6 @@ BEAUTIFY_MAP = {'minus_zero': '-0',
 
 # Flags in auto-libm-test-out that map directly to C flags.
 FLAGS_SIMPLE = {'ignore-zero-inf-sign': 'IGNORE_ZERO_INF_SIGN',
-                'no-test-inline': 'NO_TEST_INLINE',
                 'xfail': 'XFAIL_TEST'}
 
 # Exceptions in auto-libm-test-out, and their corresponding C flags
@@ -558,7 +556,6 @@ def gen_test_line(descr_args, descr_res, args_str):
                 or 'ERRNO' in res[-1]
                 or 'IGNORE_ZERO_INF_SIGN' in res[-1]
                 or 'TEST_NAN_SIGN' in res[-1]
-                or 'NO_TEST_INLINE' in res[-1]
                 or 'XFAIL' in res[-1]):
             raise ValueError('wrong number of arguments: %s' % args_str)
         res_rm = [res, res, res, res]