[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
localeconv tests: Avoid test failure on Cygwin
From: |
Bruno Haible |
Subject: |
localeconv tests: Avoid test failure on Cygwin |
Date: |
Thu, 13 Dec 2018 11:29:16 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-138-generic; KDE/5.18.0; x86_64; ; ) |
2018-12-13 Bruno Haible <address@hidden>
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, ""));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- localeconv tests: Avoid test failure on Cygwin,
Bruno Haible <=