Source-Changes-HG archive

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

[src/trunk]: src/tests/include/sys disable test on the vax until we fix it.



details:   https://anonhg.NetBSD.org/src/rev/91fb088ca86c
branches:  trunk
changeset: 770042:91fb088ca86c
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 01 18:38:39 2011 +0000

description:
disable test on the vax until we fix it.

diffstat:

 tests/include/sys/t_bitops.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r f6ca1bac38ba -r 91fb088ca86c tests/include/sys/t_bitops.c
--- a/tests/include/sys/t_bitops.c      Sat Oct 01 17:56:11 2011 +0000
+++ b/tests/include/sys/t_bitops.c      Sat Oct 01 18:38:39 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_bitops.c,v 1.11 2011/09/30 14:50:20 jruoho Exp $ */
+/*     $NetBSD: t_bitops.c,v 1.12 2011/10/01 18:38:39 christos Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_bitops.c,v 1.11 2011/09/30 14:50:20 jruoho Exp $");
+__RCSID("$NetBSD: t_bitops.c,v 1.12 2011/10/01 18:38:39 christos Exp $");
 
 #include <atf-c.h>
 
@@ -165,6 +165,9 @@
 
 ATF_TC_BODY(ilog2_log2, tc)
 {
+#ifdef __vax___
+       atf_tc_skip("Test is unavailable on vax because of lack of log2()");
+#else
        double  x, y;
        uint64_t i;
 
@@ -184,6 +187,7 @@
                            "ilog2(%"PRIu64")", i, i);
                }
        }
+#endif
 }
 
 ATF_TP_ADD_TCS(tp)



Home | Main Index | Thread Index | Old Index