Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests Remove Xfails that are related to the infamous qemu/am...
details: https://anonhg.NetBSD.org/src/rev/0f0190aa7108
branches: trunk
changeset: 768945:0f0190aa7108
user: jruoho <jruoho%NetBSD.org@localhost>
date: Mon Aug 29 12:50:50 2011 +0000
description:
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.
diffstat:
tests/include/sys/t_bitops.c | 8 ++------
tests/lib/libc/stdlib/t_strtod.c | 8 ++------
tests/lib/libm/t_floor.c | 8 ++------
3 files changed, 6 insertions(+), 18 deletions(-)
diffs (87 lines):
diff -r 7f5be4238450 -r 0f0190aa7108 tests/include/sys/t_bitops.c
--- a/tests/include/sys/t_bitops.c Mon Aug 29 12:49:37 2011 +0000
+++ b/tests/include/sys/t_bitops.c Mon Aug 29 12:50:50 2011 +0000
@@ -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);
diff -r 7f5be4238450 -r 0f0190aa7108 tests/lib/libc/stdlib/t_strtod.c
--- a/tests/lib/libc/stdlib/t_strtod.c Mon Aug 29 12:49:37 2011 +0000
+++ b/tests/lib/libc/stdlib/t_strtod.c Mon Aug 29 12:50:50 2011 +0000
@@ -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@localhost>, 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";
diff -r 7f5be4238450 -r 0f0190aa7108 tests/lib/libm/t_floor.c
--- a/tests/lib/libm/t_floor.c Mon Aug 29 12:49:37 2011 +0000
+++ b/tests/lib/libm/t_floor.c Mon Aug 29 12:50:50 2011 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index