Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/gen Retry previous



details:   https://anonhg.NetBSD.org/src/rev/29fd0db967e7
branches:  trunk
changeset: 790080:29fd0db967e7
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Sep 16 15:33:24 2013 +0000

description:
Retry previous

diffstat:

 tests/lib/libc/gen/t_isnan.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 7978e59ecc9e -r 29fd0db967e7 tests/lib/libc/gen/t_isnan.c
--- a/tests/lib/libc/gen/t_isnan.c      Mon Sep 16 15:23:57 2013 +0000
+++ b/tests/lib/libc/gen/t_isnan.c      Mon Sep 16 15:33:24 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_isnan.c,v 1.2 2013/09/16 15:22:51 martin Exp $ */
+/* $NetBSD: t_isnan.c,v 1.3 2013/09/16 15:33:24 martin Exp $ */
 
 /*
  * This file is in the Public Domain.
@@ -25,6 +25,8 @@
        /* NAN is meant to be a (float)NaN. */
        ATF_CHECK(isnan(NAN) != 0);
        ATF_CHECK(isnan((double)NAN) != 0);
+#else
+       atf_tc_skip("Test not applicable");
 #endif
 }
 
@@ -56,9 +58,7 @@
        if (strcmp("m68000", arch) == 0)
                atf_tc_skip("Test not applicable on %s", arch);
        else {
-#ifdef NAN
                ATF_TP_ADD_TC(tp, isnan_basic);
-#endif
                ATF_TP_ADD_TC(tp, isinf_basic);
        }
 



Home | Main Index | Thread Index | Old Index