summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc/gen
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-02-14 04:43:03 +0000
committerngie <ngie@FreeBSD.org>2017-02-14 04:43:03 +0000
commit2db56beee1ae7ba1d122f40eaa47a7bbd8f14aa5 (patch)
tree5a2f94ace0a19d6284e20fdf6be1ca59aeb69dc5 /contrib/netbsd-tests/lib/libc/gen
parent95abf615f84d7a22ee7185664d399411a2678c1b (diff)
downloadFreeBSD-src-2db56beee1ae7ba1d122f40eaa47a7bbd8f14aa5.zip
FreeBSD-src-2db56beee1ae7ba1d122f40eaa47a7bbd8f14aa5.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/gen')
-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