Home | History | Annotate | Download | only in stdlib
History log of /src/tests/lib/libc/stdlib/t_strtod.c
RevisionDateAuthorComments
 1.39  07-Apr-2025  riastradh tests/lib/libc/stdlib/t_strtod: Fix strtod_gherman_bug build on VAX.

A typo (DBL_MANG_DIG) excluded this whole block, so my attempts to
compile-test it failed to find the build errors. Oops!

PR port-vax/59264: t_strtod:strtod_gherman_bug test is failing
 1.38  07-Apr-2025  riastradh tests/lib/libc/stdlib/t_strtod: Adapt strtod_gherman_bug to VAX.

PR port-vax/59264: t_strtod:strtod_gherman_bug test is failing
 1.37  15-Jun-2024  rillig branches: 1.37.2;
tests/strtold: test a few simple examples
 1.36  06-May-2024  riastradh tests/lib/libc/stdlib/t_strtod: Spruce up and nix needless #ifdefs.
 1.35  14-Jan-2024  andvar s/rouding/rounding/ in test description.
 1.34  22-Dec-2015  christos Put have fenv elsewhere.
 1.33  27-Dec-2014  martin Move the list of <fenv.h> supporting architectures to the makefile and
sync it with other copies.
 1.32  04-Nov-2014  justin PR misc/49356 remove unnecessary references to atf-c/config.h

The function included via this header is not used and is removed in
later versions of atf, so let us avoid it.
 1.31  26-Sep-2012  jruoho Remove expected failures that no longer fail (probably due a Qemu update).
 1.30  15-May-2012  alnsn branches: 1.30.2;
Test a bug found by Geza Herman.
 1.29  04-Apr-2012  joerg Try fixing t_strtod to not depend on -ffloat-store by adding the
necessary volatiles.
 1.28  18-Mar-2012  jruoho Move the references to PRs from code comments to the test description. Once
ATF has the ability to output the metadata in the HTML reports, it should be
easy to traverse between releng and gnats -reports via links.
 1.27  30-Sep-2011  jruoho branches: 1.27.2;
Add expected failures for Qemu.
 1.26  29-Aug-2011  jruoho Remove some cruft that is no longer needed.
 1.25  29-Aug-2011  jruoho Remove Xfails that are related to the infamous qemu/amd64 floating point
bugs. It appears to be quite difficult to identify the exact Qemu version
and setup. These do not fail on the TNF's qemu/amd64 setup, which can be
taken as a reference point for expected failures.
 1.24  08-Jul-2011  jruoho Remove the amd64-part from the Qemu checks. The following tests fail also on
i386/qemu: 'strtold_inf', 'strtold_nan', and 'infinity_long_double'. It seems
that more than anything else, these are dependent on the used Qemu version.
 1.23  07-Jul-2011  jruoho Improve the QEMU/amd64 detection.
 1.22  04-Jul-2011  mrg XXX: ugly hack to make these valid for vax fp.
XXX: could consolidate some of this into a common header, but i'll
leave that clean up for another time.
 1.21  14-Jun-2011  jruoho The NaN case for strtold(3) was fixed for x86. Adjust for the expected
failures (known failures include again the special case of qemu/amd64).
 1.20  07-Jun-2011  martin Sparc64 does not fail the strtold_nan test, so don't expect failure there
 1.19  05-Jun-2011  jruoho Granularity is fine, but also adjust atf_tc_expect_fail() properly.
 1.18  05-Jun-2011  jmmv Do not blindly skip test code.

Tests are not supposed to skip whole parts of code to later report a success.
Instead, they need to report a 'skipped' result so that it is clear to the
user that some part of the tests were not run.

To do this, add proper calls to atf_tc_skip where some pieces of code are
skipped. Also, make the strtod/strtof/strtold inf and nan tests more granular
so that the *ld versions can be skipped altogether when there is no support
for them. As a result of this, the atf_tc_expect_fail becomes accurate; it
could have hidden bugs in strtod and strtof before.
 1.17  05-Jun-2011  christos - use c99 to avoid extra ifdefs and tidy up the code
- require that undeflow returns 0 and ERANGE
 1.16  04-Jun-2011  matt Only do the long double tests if __HAVE_LONG_DOUBLE is defined
 1.15  04-Jun-2011  jruoho Add -ffloat-store add test lib/45020 also with __isnanl().
 1.14  04-Jun-2011  jruoho Add more strings to the "infinity test".
 1.13  04-Jun-2011  jruoho Verify PR lib/45020. Fails at least on amd64.
 1.12  31-May-2011  jruoho branches: 1.12.2;
Mark the following tests as expected failures on qemu/amd64: 'strtod_inf',
'strtod_round', and 'infinity_long_double'. None of these fail on any known
native host. Use the tracker PR misc/44767 as the reference point.
 1.11  20-May-2011  nakayama Add fenv support for sparc. Mostly copied from sparc64 and share with it.
 1.10  16-May-2011  he The support of <fenv.h> is actually for __sparc64__, not for __sparc__
(which is also defined on sparc64). This fixes a build problem for
plain sparc.
 1.9  10-May-2011  jruoho Use the same conditional check from <fenv.h> to fix an immediate build error
pointed out by cliff@. (This does not however sound like a sane thing to
mandate from a C99 header.)
 1.8  10-May-2011  jruoho Verify that strtod(3) honors the current rounding mode set by fesetround(3).
Passes on amd64. Prompted by a bug in the GNU C library.
 1.7  12-Apr-2011  jruoho Better to still leave the old PR number as a comment.
 1.6  12-Apr-2011  jruoho PR lib/33262 should be fixed; remove expected failure.
 1.5  10-Apr-2011  jruoho Currently known failures affect only amd64; adjust atf_tc_expect_fail().
 1.4  08-Apr-2011  jruoho Fix build failure on VAX.
 1.3  06-Apr-2011  jruoho Verify the existence of PR lib/33262.
 1.2  05-Apr-2011  jruoho Try to maintain the structure of libc and move 't_strtox' to 't_strtod'.
 1.1  05-Apr-2011  jruoho Add simple test cases for ttyname(3), strtod(3), and getgrent(3).
 1.12.2.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.27.2.3  30-Oct-2012  yamt sync with head
 1.27.2.2  23-May-2012  yamt sync with head.
 1.27.2.1  17-Apr-2012  yamt sync with head
 1.30.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.37.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed