changeset 40014:be8d2daa572e

localeconv tests: Avoid test failure on Cygwin. * tests/test-localeconv.c (main): On Cygwin, skip the 'grouping' and 'mon_grouping' tests.
author Bruno Haible <bruno@clisp.org>
date Thu, 13 Dec 2018 11:28:32 +0100
parents 3f2678b62046
children a4bc639f0003
files ChangeLog tests/test-localeconv.c
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Dec 12 01:14:34 2018 +0100
+++ b/ChangeLog	Thu Dec 13 11:28:32 2018 +0100
@@ -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.
--- a/tests/test-localeconv.c	Wed Dec 12 01:14:34 2018 +0100
+++ b/tests/test-localeconv.c	Thu Dec 13 11:28:32 2018 +0100
@@ -37,13 +37,13 @@
 
     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, ""));