svn commit: r313377 - head/contrib/netbsd-tests/lib/libc/gen

Ngie Cooper ngie at FreeBSD.org
Tue Feb 7 04:15:42 UTC 2017


Author: ngie
Date: Tue Feb  7 04:15:41 2017
New Revision: 313377
URL: https://svnweb.freebsd.org/changeset/base/313377

Log:
  Expect :floatunditf to fail on FreeBSD/i386
  
  The precision error on FreeBSD/i386 doesn't match the expected output in
  long double form.
  
  MFC after:	1 week
  Sponsored by:	Dell EMC Isilon

Modified:
  head/contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c

Modified: head/contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c	Tue Feb  7 03:46:48 2017	(r313376)
+++ head/contrib/netbsd-tests/lib/libc/gen/t_floatunditf.c	Tue Feb  7 04:15:41 2017	(r313377)
@@ -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,


More information about the svn-src-head mailing list