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 PR lib/33262 should be fixed; remove e...
details: https://anonhg.NetBSD.org/src/rev/4b97891cd562
branches: trunk
changeset: 764130:4b97891cd562
user: jruoho <jruoho%NetBSD.org@localhost>
date: Tue Apr 12 02:52:20 2011 +0000
description:
PR lib/33262 should be fixed; remove expected failure.
diffstat:
tests/lib/libc/stdlib/t_strtod.c | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diffs (38 lines):
diff -r b6781ed9bbdf -r 4b97891cd562 tests/lib/libc/stdlib/t_strtod.c
--- a/tests/lib/libc/stdlib/t_strtod.c Tue Apr 12 01:47:20 2011 +0000
+++ b/tests/lib/libc/stdlib/t_strtod.c Tue Apr 12 02:52:20 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strtod.c,v 1.5 2011/04/10 10:23:45 jruoho Exp $ */
+/* $NetBSD: t_strtod.c,v 1.6 2011/04/12 02:52:20 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.5 2011/04/10 10:23:45 jruoho Exp $");
+__RCSID("$NetBSD: t_strtod.c,v 1.6 2011/04/12 02:52:20 jruoho Exp $");
#include <errno.h>
#include <math.h>
@@ -106,19 +106,10 @@
{
#ifndef __vax__
- const char *m_arch;
long double ld;
double d;
float f;
- m_arch = atf_config_get("atf_arch");
-
- if (strcmp(m_arch, "x86_64") == 0)
- atf_tc_expect_fail("PR lib/33262");
-
- if (system("cpuctl identify 0 | grep -q QEMU") == 0)
- atf_tc_expect_fail("PR lib/33262");
-
d = strtod("INF", NULL);
ATF_REQUIRE(isinf(d) != 0);
Home |
Main Index |
Thread Index |
Old Index