Module Name: src Committed By: jruoho Date: Mon Aug 29 12:50:50 UTC 2011
Modified Files: src/tests/include/sys: t_bitops.c src/tests/lib/libc/stdlib: t_strtod.c src/tests/lib/libm: t_floor.c Log Message: Remove Xfails that are related to the infamous qemu/amd64 floating point bugs. It appears to be quite difficult to identify the exact Qemu version and setup. These do not fail on the TNF's qemu/amd64 setup, which can be taken as a reference point for expected failures. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/include/sys/t_bitops.c cvs rdiff -u -r1.24 -r1.25 src/tests/lib/libc/stdlib/t_strtod.c cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libm/t_floor.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/include/sys/t_bitops.c diff -u src/tests/include/sys/t_bitops.c:1.8 src/tests/include/sys/t_bitops.c:1.9 --- src/tests/include/sys/t_bitops.c:1.8 Thu Jul 7 11:04:30 2011 +++ src/tests/include/sys/t_bitops.c Mon Aug 29 12:50:50 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: t_bitops.c,v 1.8 2011/07/07 11:04:30 jruoho Exp $ */ +/* $NetBSD: t_bitops.c,v 1.9 2011/08/29 12:50:50 jruoho Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_bitops.c,v 1.8 2011/07/07 11:04:30 jruoho Exp $"); +__RCSID("$NetBSD: t_bitops.c,v 1.9 2011/08/29 12:50:50 jruoho Exp $"); #include <atf-c.h> @@ -174,10 +174,6 @@ */ ATF_REQUIRE(uname(&utsname) == 0); - if (strcmp(utsname.machine, "amd64") == 0 && - system("cpuctl identify 0 | grep -q QEMU") == 0) - atf_tc_expect_fail("PR misc/44767"); - for (i = 1; i < UINT32_MAX; i += UINT16_MAX) { x = log2(i); Index: src/tests/lib/libc/stdlib/t_strtod.c diff -u src/tests/lib/libc/stdlib/t_strtod.c:1.24 src/tests/lib/libc/stdlib/t_strtod.c:1.25 --- src/tests/lib/libc/stdlib/t_strtod.c:1.24 Fri Jul 8 05:10:05 2011 +++ src/tests/lib/libc/stdlib/t_strtod.c Mon Aug 29 12:50:50 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: t_strtod.c,v 1.24 2011/07/08 05:10:05 jruoho Exp $ */ +/* $NetBSD: t_strtod.c,v 1.25 2011/08/29 12:50:50 jruoho Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ /* Public domain, Otto Moerbeek <o...@drijf.net>, 2006. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_strtod.c,v 1.24 2011/07/08 05:10:05 jruoho Exp $"); +__RCSID("$NetBSD: t_strtod.c,v 1.25 2011/08/29 12:50:50 jruoho Exp $"); #include <sys/utsname.h> @@ -275,10 +275,6 @@ */ ATF_REQUIRE(uname(&utsname) == 0); - if (strcmp(utsname.machine, "amd64") == 0 && - system("cpuctl identify 0 | grep -q QEMU") == 0) - atf_tc_expect_fail("PR misc/44767"); - const char *val = "1.00000011920928977282585492503130808472633361816406"; Index: src/tests/lib/libm/t_floor.c diff -u src/tests/lib/libm/t_floor.c:1.6 src/tests/lib/libm/t_floor.c:1.7 --- src/tests/lib/libm/t_floor.c:1.6 Thu Jul 7 11:04:30 2011 +++ src/tests/lib/libm/t_floor.c Mon Aug 29 12:50:50 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: t_floor.c,v 1.6 2011/07/07 11:04:30 jruoho Exp $ */ +/* $NetBSD: t_floor.c,v 1.7 2011/08/29 12:50:50 jruoho Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__RCSID("$NetBSD: t_floor.c,v 1.6 2011/07/07 11:04:30 jruoho Exp $"); +__RCSID("$NetBSD: t_floor.c,v 1.7 2011/08/29 12:50:50 jruoho Exp $"); #include <sys/utsname.h> @@ -63,10 +63,6 @@ */ ATF_REQUIRE(uname(&utsname) == 0); - if (strcmp(utsname.machine, "amd64") == 0 && - system("cpuctl identify 0 | grep -q QEMU") == 0) - atf_tc_expect_fail("PR misc/44767"); - for (i = 0; i < n; i++) { x = i + 0.999999999;