2018-12-13  Bruno Haible  <br...@clisp.org>

        localeconv tests: Avoid test failure on Cygwin.
        * tests/test-localeconv.c (main): On Cygwin, skip the 'grouping' and
        'mon_grouping' tests.

diff --git a/tests/test-localeconv.c b/tests/test-localeconv.c
index 65e364d..d2bd761 100644
--- a/tests/test-localeconv.c
+++ b/tests/test-localeconv.c
@@ -37,13 +37,13 @@ main ()
 
     ASSERT (STREQ (l->decimal_point, "."));
     ASSERT (STREQ (l->thousands_sep, ""));
-#if !((defined __FreeBSD__ || defined __DragonFly__) || defined __sun)
+#if !((defined __FreeBSD__ || defined __DragonFly__) || defined __sun || 
defined __CYGWIN__)
     ASSERT (STREQ (l->grouping, ""));
 #endif
 
     ASSERT (STREQ (l->mon_decimal_point, ""));
     ASSERT (STREQ (l->mon_thousands_sep, ""));
-#if !((defined __FreeBSD__ || defined __DragonFly__) || defined __sun)
+#if !((defined __FreeBSD__ || defined __DragonFly__) || defined __sun || 
defined __CYGWIN__)
     ASSERT (STREQ (l->mon_grouping, ""));
 #endif
     ASSERT (STREQ (l->positive_sign, ""));


Reply via email to