Module Name: src
Committed By: martin
Date: Mon Sep 16 15:33:24 UTC 2013
Modified Files:
src/tests/lib/libc/gen: t_isnan.c
Log Message:
Retry previous
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/gen/t_isnan.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/lib/libc/gen/t_isnan.c
diff -u src/tests/lib/libc/gen/t_isnan.c:1.2 src/tests/lib/libc/gen/t_isnan.c:1.3
--- src/tests/lib/libc/gen/t_isnan.c:1.2 Mon Sep 16 15:22:51 2013
+++ src/tests/lib/libc/gen/t_isnan.c Mon Sep 16 15:33:24 2013
@@ -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 @@ ATF_TC_BODY(isnan_basic, tc)
/* 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 @@ ATF_TP_ADD_TCS(tp)
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);
}