From: Bruno Haible Date: Thu, 13 Dec 2018 10:28:32 +0000 (+0100) Subject: localeconv tests: Avoid test failure on Cygwin. X-Git-Tag: v1.0~5249 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8fae712db5b84b4e6b05f447d9c8500e5bc075e7;p=thirdparty%2Fgnulib.git localeconv tests: Avoid test failure on Cygwin. * tests/test-localeconv.c (main): On Cygwin, skip the 'grouping' and 'mon_grouping' tests. --- diff --git a/ChangeLog b/ChangeLog index 69a62b5d69..b9d8597b1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-12-13 Bruno Haible + + 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 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, ""));