summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-14 04:42:47 +0000
committerngie <ngie@FreeBSD.org>2017-02-14 04:42:47 +0000
commit7a6ce43b47d0f1fe0d996bc88e833da9dae841b8 (patch)
tree6ddf69bb693c7ac988392f3c235896fb71ea7c69
parent2798b4fb758ec2f3622b0cc11edfe86649e78d1b (diff)
downloadFreeBSD-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.
-rw-r--r--contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c5
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,
OpenPOWER on IntegriCloud