diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-04-29 20:36:48 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-04-29 20:36:48 +0000 |
commit | f2da7793096c58b30ca57380da4c1343cabc4044 (patch) | |
tree | bdda9f127f8c35e2c1674f97e08e8f9367b7eea0 /ChangeLog | |
parent | c3ed8088e4812d4f58bf9f6124106c65be22faef (diff) | |
download | glibc-f2da7793096c58b30ca57380da4c1343cabc4044.tar glibc-f2da7793096c58b30ca57380da4c1343cabc4044.tar.gz glibc-f2da7793096c58b30ca57380da4c1343cabc4044.tar.bz2 glibc-f2da7793096c58b30ca57380da4c1343cabc4044.zip |
Integrate errno testing better in libm-test.inc.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -1,3 +1,33 @@ +2013-04-29 Joseph Myers <joseph@codesourcery.com> + + * math/libm-test.inc (ERRNO_UNCHANGED): New macro. + (ERRNO_EDOM): Likewise. + (ERRNO_ERANGE): Likewise. + (noErrnoTests): New variable. + (init_max_error): Set errno to 0. + (test_single_errno): New function. + (test_errno): Likewise. + (check_float_internal): Call test_errno. Set errno to 0. + (check_complex): Refer to errno tests in comment. + (check_int): Call test_errno. Set errno to 0. + (check_long): Likewise. + (check_bool): Likewise. + (check_longlong): Likewise. + (cos_test): Use ERRNO_* flags for errno tests instead of + check_int. + (expm1_test): Likewise. + (fmod_test): Likewise. + (ilogb_test): Likewise. + (lgamma_test): Likewise. + (pow_test): Likewise. + (remainder_test): Likewise. + (sin_test): Likewise. + (tan_test): Likewise. + (yn_test): Likewise. + (initialize): Set errno to 0. + (main): Print number of errno tests. + * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests. + 2013-04-29 Andreas Jaeger <aj@suse.de> [BZ #15084] |