Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/locale VAX doesn't have the test cases, so st...



details:   https://anonhg.NetBSD.org/src/rev/d11475da028a
branches:  trunk
changeset: 355138:d11475da028a
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jul 14 14:09:53 2017 +0000

description:
VAX doesn't have the test cases, so stub the body as well.

diffstat:

 tests/lib/libc/locale/t_wcstod.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r ebceff087185 -r d11475da028a tests/lib/libc/locale/t_wcstod.c
--- a/tests/lib/libc/locale/t_wcstod.c  Fri Jul 14 13:23:48 2017 +0000
+++ b/tests/lib/libc/locale/t_wcstod.c  Fri Jul 14 14:09:53 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_wcstod.c,v 1.4 2017/07/12 17:32:51 perseant Exp $ */
+/* $NetBSD: t_wcstod.c,v 1.5 2017/07/14 14:09:53 joerg Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
 #include <sys/cdefs.h>
 __COPYRIGHT("@(#) Copyright (c) 2011\
  The NetBSD Foundation, inc. All rights reserved.");
-__RCSID("$NetBSD: t_wcstod.c,v 1.4 2017/07/12 17:32:51 perseant Exp $");
+__RCSID("$NetBSD: t_wcstod.c,v 1.5 2017/07/14 14:09:53 joerg Exp $");
 
 #include <errno.h>
 #include <math.h>
@@ -392,6 +392,7 @@
 }
 ATF_TC_BODY(wcstombs, tc)
 {
+#if !defined(__vax__)
        struct test *t;
        size_t n;
        char *buf;
@@ -411,6 +412,7 @@
                
                free(buf);
        }
+#endif
 }
 
 ATF_TC(wcstod);



Home | Main Index | Thread Index | Old Index