svn commit: r274600 - head/contrib/netbsd-tests/lib/libm
Garrett Cooper
ngie at FreeBSD.org
Sun Nov 16 20:39:11 UTC 2014
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)
More information about the svn-src-all
mailing list