Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/stdlib Granularity is fine, but also adjust a...
details: https://anonhg.NetBSD.org/src/rev/ce580fd1e8d6
branches: trunk
changeset: 765772:ce580fd1e8d6
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Jun 05 16:33:51 2011 +0000
description:
Granularity is fine, but also adjust atf_tc_expect_fail() properly.
diffstat:
tests/lib/libc/stdlib/t_strtod.c | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
diffs (44 lines):
diff -r ce1b630ed6dc -r ce580fd1e8d6 tests/lib/libc/stdlib/t_strtod.c
--- a/tests/lib/libc/stdlib/t_strtod.c Sun Jun 05 16:25:12 2011 +0000
+++ b/tests/lib/libc/stdlib/t_strtod.c Sun Jun 05 16:33:51 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strtod.c,v 1.18 2011/06/05 07:58:03 jmmv Exp $ */
+/* $NetBSD: t_strtod.c,v 1.19 2011/06/05 16:33:51 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.18 2011/06/05 07:58:03 jmmv Exp $");
+__RCSID("$NetBSD: t_strtod.c,v 1.19 2011/06/05 16:33:51 jruoho Exp $");
#include <errno.h>
#include <math.h>
@@ -114,12 +114,7 @@
#ifndef __vax__
/*
* See the closed PR lib/33262.
- *
- * This may also fail under QEMU; cf. PR misc/44767.
*/
- 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++) {
double d = strtod(inf_strings[i], NULL);
ATF_REQUIRE(isinf(d) != 0);
@@ -140,12 +135,7 @@
#ifndef __vax__
/*
* See the closed PR lib/33262.
- *
- * This may also fail under QEMU; cf. PR misc/44767.
*/
- 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++) {
float f = strtof(inf_strings[i], NULL);
ATF_REQUIRE(isinf(f) != 0);
Home |
Main Index |
Thread Index |
Old Index