Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2017 19:02:59 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r313402 - projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libm
Message-ID:  <201702071902.v17J2xBb022027@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Feb  7 19:02:59 2017
New Revision: 313402
URL: https://svnweb.freebsd.org/changeset/base/313402

Log:
  Oops... put the atf_tc_expect_fail in the testcase definition, not the
  test suite definition

Modified:
  projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libm/t_precision.c

Modified: projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libm/t_precision.c
==============================================================================
--- projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libm/t_precision.c	Tue Feb  7 18:57:57 2017	(r313401)
+++ projects/netbsd-tests-upstream-01-2017/contrib/netbsd-tests/lib/libm/t_precision.c	Tue Feb  7 19:02:59 2017	(r313402)
@@ -51,6 +51,11 @@ volatile long double y = 1;
 
 ATF_TC_BODY(t_precision, tc)
 {
+#ifdef	__FreeBSD__
+#ifdef	__i386__
+	atf_tc_expect_fail("the __HAVE_LONG_DOUBLE checks fail on i386");
+#endif
+#endif
 	x += DBL_EPSILON;
 	ATF_CHECK(x != 1.0);
 	x -= 1;
@@ -73,11 +78,6 @@ ATF_TC_BODY(t_precision, tc)
 
 ATF_TP_ADD_TCS(tp)
 {
-#ifdef	__FreeBSD__
-#ifdef	__i386__
-	atf_tc_expect_fail("the __HAVE_LONG_DOUBLE checks fail on i386");
-#endif
-#endif
 	ATF_TP_ADD_TC(tp, t_precision);
 
 	return atf_no_error();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702071902.v17J2xBb022027>