From owner-svn-src-projects@freebsd.org Tue Feb 7 19:03:01 2017 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 049ADCD47A5 for ; Tue, 7 Feb 2017 19:03:01 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C86702C3; Tue, 7 Feb 2017 19:03:00 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v17J2xYP022028; Tue, 7 Feb 2017 19:02:59 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v17J2xBb022027; Tue, 7 Feb 2017 19:02:59 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201702071902.v17J2xBb022027@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Tue, 7 Feb 2017 19:02:59 +0000 (UTC) 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 X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2017 19:03:01 -0000 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();