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 Sparc64 does not fail the strtold_nan ...
details: https://anonhg.NetBSD.org/src/rev/556fcd8a5602
branches: trunk
changeset: 765831:556fcd8a5602
user: martin <martin%NetBSD.org@localhost>
date: Tue Jun 07 13:51:52 2011 +0000
description:
Sparc64 does not fail the strtold_nan test, so don't expect failure there
diffstat:
tests/lib/libc/stdlib/t_strtod.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 98e5bd5f2d8b -r 556fcd8a5602 tests/lib/libc/stdlib/t_strtod.c
--- a/tests/lib/libc/stdlib/t_strtod.c Tue Jun 07 13:30:35 2011 +0000
+++ b/tests/lib/libc/stdlib/t_strtod.c Tue Jun 07 13:51:52 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_strtod.c,v 1.19 2011/06/05 16:33:51 jruoho Exp $ */
+/* $NetBSD: t_strtod.c,v 1.20 2011/06/07 13:51:52 martin 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.19 2011/06/05 16:33:51 jruoho Exp $");
+__RCSID("$NetBSD: t_strtod.c,v 1.20 2011/06/07 13:51:52 martin Exp $");
#include <errno.h>
#include <math.h>
@@ -225,7 +225,9 @@
# ifdef __HAVE_LONG_DOUBLE
char *end;
+#ifndef __sparc64__
atf_tc_expect_fail("PR lib/45020");
+#endif
long double ld = strtold(nan_string, &end);
ATF_REQUIRE(isnan(ld) != 0);
Home |
Main Index |
Thread Index |
Old Index