From owner-svn-src-head@FreeBSD.ORG Sun Nov 16 20:39:11 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4CAC48B; Sun, 16 Nov 2014 20:39:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 C1646696; Sun, 16 Nov 2014 20:39:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAGKdB8u089471; Sun, 16 Nov 2014 20:39:11 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAGKdBgL089470; Sun, 16 Nov 2014 20:39:11 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201411162039.sAGKdBgL089470@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Sun, 16 Nov 2014 20:39:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274600 - head/contrib/netbsd-tests/lib/libm X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2014 20:39:11 -0000 Author: ngie Date: Sun Nov 16 20:39:11 2014 New Revision: 274600 URL: https://svnweb.freebsd.org/changeset/base/274600 Log: - Expect exp2_powers to fail on FreeBSD/i386 - Expect exp2_values to fail on FreeBSD due to the small epsilon Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libm/t_exp.c Modified: head/contrib/netbsd-tests/lib/libm/t_exp.c ============================================================================== --- head/contrib/netbsd-tests/lib/libm/t_exp.c Sun Nov 16 20:37:46 2014 (r274599) +++ head/contrib/netbsd-tests/lib/libm/t_exp.c Sun Nov 16 20:39:11 2014 (r274600) @@ -131,6 +131,10 @@ ATF_LIBM_TEST(exp2_powers, "Test exp2(x) }; unsigned int i; +#if defined(__FreeBSD__) && defined(__i386__) + atf_tc_expect_fail("a number of the assertions fail on i386"); +#endif + for (i = 0; i < __arraycount(v); i++) { T_LIBM_CHECK(i, exp2, v[i].x, v[i].d_y, 0.0); T_LIBM_CHECK(i, exp2f, v[i].x, v[i].f_y, 0.0); @@ -173,6 +177,11 @@ ATF_LIBM_TEST(exp2_values, "Test exp2(x) }; unsigned int i; +#ifdef __FreeBSD__ + atf_tc_expect_fail("Some of the cases produce failures on FreeBSD " + "due to the error epsilon being so small"); +#endif + for (i = 0; i < __arraycount(v); i++) { T_LIBM_CHECK(i, exp2, v[i].x, v[i].y, v[i].d_eps); if (i > 1)