diff options
author | ngie <ngie@FreeBSD.org> | 2017-02-14 04:42:47 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-02-14 04:42:47 +0000 |
commit | 7a6ce43b47d0f1fe0d996bc88e833da9dae841b8 (patch) | |
tree | 6ddf69bb693c7ac988392f3c235896fb71ea7c69 /contrib/netbsd-tests/lib/libc | |
parent | 2798b4fb758ec2f3622b0cc11edfe86649e78d1b (diff) | |
download | FreeBSD-src-7a6ce43b47d0f1fe0d996bc88e833da9dae841b8.zip FreeBSD-src-7a6ce43b47d0f1fe0d996bc88e833da9dae841b8.tar.gz |
MFC r313377:
Expect :floatunditf to fail on FreeBSD/i386
The precision error on FreeBSD/i386 doesn't match the expected output in
long double form.
Diffstat (limited to 'contrib/netbsd-tests/lib/libc')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c b/contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c index ef372f7..c3417bb 100644 --- a/contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c +++ b/contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c @@ -119,6 +119,11 @@ ATF_TC_BODY(floatunditf, tc) #else size_t i; +#if defined(__FreeBSD__) && defined(__i386__) + atf_tc_expect_fail("the floating point error on FreeBSD/i386 doesn't " + "match the expected floating point error on NetBSD"); +#endif + for (i = 0; i < __arraycount(testcases); ++i) ATF_CHECK_MSG( testcases[i].ld == (long double)testcases[i].u64, |