summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-12-13 11:28:32 +0100
committerBruno Haible <bruno@clisp.org>2018-12-13 11:28:32 +0100
commit8fae712db5b84b4e6b05f447d9c8500e5bc075e7 (patch)
tree45bf5fc4b6f14128e0ff8efda7411331fd917fc1
parent1a833ed0ddb6e482b121f813e00e5e2b5e79a8d2 (diff)
downloadgnulib-8fae712db5b84b4e6b05f447d9c8500e5bc075e7.tar.gz
localeconv tests: Avoid test failure on Cygwin.
* tests/test-localeconv.c (main): On Cygwin, skip the 'grouping' and 'mon_grouping' tests.
-rw-r--r--ChangeLog6
-rw-r--r--tests/test-localeconv.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 69a62b5d69..b9d8597b1d 100644
--- 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.
diff --git a/tests/test-localeconv.c b/tests/test-localeconv.c
index 65e364d752..d2bd761501 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, ""));