Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib Remove expected failures that no longer fail (prob...



details:   https://anonhg.NetBSD.org/src/rev/aceb3d8c73fc
branches:  trunk
changeset: 781725:aceb3d8c73fc
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Wed Sep 26 07:24:38 2012 +0000

description:
Remove expected failures that no longer fail (probably due a Qemu update).

diffstat:

 tests/lib/libc/stdlib/t_strtod.c |  9 ++-------
 tests/lib/libm/t_infinity.c      |  9 ++-------
 2 files changed, 4 insertions(+), 14 deletions(-)

diffs (67 lines):

diff -r 2e6f95e183b7 -r aceb3d8c73fc tests/lib/libc/stdlib/t_strtod.c
--- a/tests/lib/libc/stdlib/t_strtod.c  Wed Sep 26 05:57:45 2012 +0000
+++ b/tests/lib/libc/stdlib/t_strtod.c  Wed Sep 26 07:24:38 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_strtod.c,v 1.30 2012/05/15 18:46:20 alnsn Exp $ */
+/*     $NetBSD: t_strtod.c,v 1.31 2012/09/26 07:24:38 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.30 2012/05/15 18:46:20 alnsn Exp $");
+__RCSID("$NetBSD: t_strtod.c,v 1.31 2012/09/26 07:24:38 jruoho Exp $");
 
 #include <errno.h>
 #include <math.h>
@@ -155,8 +155,6 @@
 {
 #ifndef __vax__
 #   ifdef __HAVE_LONG_DOUBLE
-       if (system("cpuctl identify 0 | grep -q QEMU") == 0)
-               atf_tc_expect_fail("PR misc/44767");
 
        for (size_t i = 0; i < __arraycount(inf_strings); i++) {
                volatile long double ld = strtold(inf_strings[i], NULL);
@@ -221,9 +219,6 @@
 
        char *end;
 
-       if (system("cpuctl identify 0 | grep -q QEMU") == 0)
-               atf_tc_expect_fail("PR misc/44767");
-
        volatile long double ld = strtold(nan_string, &end);
        ATF_REQUIRE(isnan(ld) != 0);
        ATF_REQUIRE(__isnanl(ld) != 0);
diff -r 2e6f95e183b7 -r aceb3d8c73fc tests/lib/libm/t_infinity.c
--- a/tests/lib/libm/t_infinity.c       Wed Sep 26 05:57:45 2012 +0000
+++ b/tests/lib/libm/t_infinity.c       Wed Sep 26 07:24:38 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_infinity.c,v 1.5 2011/07/08 05:10:05 jruoho Exp $ */
+/* $NetBSD: t_infinity.c,v 1.6 2012/09/26 07:24:38 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2002, 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_infinity.c,v 1.5 2011/07/08 05:10:05 jruoho Exp $");
+__RCSID("$NetBSD: t_infinity.c,v 1.6 2012/09/26 07:24:38 jruoho Exp $");
 
 #include <atf-c.h>
 #include <math.h>
@@ -89,11 +89,6 @@
 
 ATF_TC_BODY(infinity_long_double, tc)
 {
-       /*
-        * May fail under QEMU; cf. PR misc/44767.
-        */
-       if (system("cpuctl identify 0 | grep -q QEMU") == 0)
-               atf_tc_expect_fail("PR misc/44767");
 
 #ifndef LDBL_MAX
        atf_tc_skip("no long double support on this architecture");



Home | Main Index | Thread Index | Old Index