Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/stdio vax doesn't have ieee fp, so, don't try...
details: https://anonhg.NetBSD.org/src/rev/2c4e9b16cd96
branches: trunk
changeset: 758956:2c4e9b16cd96
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Nov 22 08:47:58 2010 +0000
description:
vax doesn't have ieee fp, so, don't try to test ieee fp on vax.
diffstat:
tests/lib/libc/stdio/t_format.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r c42d5d39e1fe -r 2c4e9b16cd96 tests/lib/libc/stdio/t_format.c
--- a/tests/lib/libc/stdio/t_format.c Mon Nov 22 08:35:44 2010 +0000
+++ b/tests/lib/libc/stdio/t_format.c Mon Nov 22 08:47:58 2010 +0000
@@ -46,11 +46,13 @@
ATF_CHECK(sprintf(str, "%010f", 0.0) == 10);
ATF_REQUIRE_STREQ(str, "000.000000");
+#ifndef __vax__
/* PR/44113: printf(3) should ignore zero padding for nan/inf */
ATF_CHECK(sprintf(str, "%010f", NAN) == 10);
ATF_REQUIRE_STREQ(str, " nan");
ATF_CHECK(sprintf(str, "%010f", INFINITY) == 10);
ATF_REQUIRE_STREQ(str, " inf");
+#endif
}
ATF_TP_ADD_TCS(tp)
Home |
Main Index |
Thread Index |
Old Index