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.
This commit is contained in:
jruoho 2011-08-29 12:50:50 +00:00
parent 010ceb7a08
commit 86cc76e795
3 changed files with 6 additions and 18 deletions

View File

@ -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_TC_BODY(ilog2_log2, tc)
*/
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);

View File

@ -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 <otto@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_TC_BODY(strtod_round, tc)
*/
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";

View File

@ -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_TC_BODY(floor, tc)
*/
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;