]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
localeconv tests: Avoid test failure on Cygwin.
authorBruno Haible <bruno@clisp.org>
Thu, 13 Dec 2018 10:28:32 +0000 (11:28 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 13 Dec 2018 10:28:32 +0000 (11:28 +0100)
* tests/test-localeconv.c (main): On Cygwin, skip the 'grouping' and
'mon_grouping' tests.

ChangeLog
tests/test-localeconv.c

index 69a62b5d6960f77555d429b9d0674721b00b48f2..b9d8597b1d492cec80fc932ad88161577f501129 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-12-13  Bruno Haible  <bruno@clisp.org>
+
+       localeconv tests: Avoid test failure on Cygwin.
+       * tests/test-localeconv.c (main): On Cygwin, skip the 'grouping' and
+       'mon_grouping' tests.
+
 2018-12-11  Bruno Haible  <bruno@clisp.org>
 
        omap: Don't dispose the old value when the function returns it.
index 65e364d752fbbffecacc1c3867343f1066710ddd..d2bd76150100561dc22a3d59a8be5ad9a0d0af55 100644 (file)
@@ -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, ""));