Mercurial > hg > octave-kai > gnulib-hg
changeset 14335:413f5a66c55a
Avoid setlocale bugs in tests.
* modules/btowc (Dependencies): Add setlocale.
* modules/c-strcase (Dependencies): Likewise.
* modules/mbmemcasecmp (Dependencies): Likewise.
* modules/mbmemcasecoll (Dependencies): Likewise.
* modules/mbrtowc (Dependencies): Likewise.
* modules/mbscasecmp (Dependencies): Likewise.
* modules/mbscasestr (Dependencies): Likewise.
* modules/mbschr (Dependencies): Likewise.
* modules/mbscspn (Dependencies): Likewise.
* modules/mbsinit (Dependencies): Likewise.
* modules/mbsncasecmp (Dependencies): Likewise.
* modules/mbsnrtowcs (Dependencies): Likewise.
* modules/mbspbrk (Dependencies): Likewise.
* modules/mbspcasecmp (Dependencies): Likewise.
* modules/mbsrchr (Dependencies): Likewise.
* modules/mbsrtowcs (Dependencies): Likewise.
* modules/mbsspn (Dependencies): Likewise.
* modules/mbsstr (Dependencies): Likewise.
* modules/nl_langinfo (Dependencies): Likewise.
* modules/quotearg (Dependencies): Likewise.
* modules/unicase/locale-language (Dependencies): Likewise.
* modules/unicase/ulc-casecmp (Dependencies): Likewise.
* modules/unicase/ulc-casecoll (Dependencies): Likewise.
* modules/unigbrk/ulc-grapheme-breaks (Dependencies): Likewise.
* modules/unistdio/u8-vasnprintf (Dependencies): Likewise.
* modules/unistdio/u16-vasnprintf (Dependencies): Likewise.
* modules/unistdio/u32-vasnprintf (Dependencies): Likewise.
* modules/unistdio/ulc-vasnprintf (Dependencies): Likewise.
* modules/uniwbrk/ulc-wordbreaks (Dependencies): Likewise.
* modules/vasnprintf-posix (Dependencies): Likewise.
* modules/wcrtomb (Dependencies): Likewise.
* modules/wcsnrtombs (Dependencies): Likewise.
* modules/wcsrtombs (Dependencies): Likewise.
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,40 @@ +2011-02-12 Bruno Haible <bruno@clisp.org> + + Avoid setlocale bugs in tests. + * modules/btowc (Dependencies): Add setlocale. + * modules/c-strcase (Dependencies): Likewise. + * modules/mbmemcasecmp (Dependencies): Likewise. + * modules/mbmemcasecoll (Dependencies): Likewise. + * modules/mbrtowc (Dependencies): Likewise. + * modules/mbscasecmp (Dependencies): Likewise. + * modules/mbscasestr (Dependencies): Likewise. + * modules/mbschr (Dependencies): Likewise. + * modules/mbscspn (Dependencies): Likewise. + * modules/mbsinit (Dependencies): Likewise. + * modules/mbsncasecmp (Dependencies): Likewise. + * modules/mbsnrtowcs (Dependencies): Likewise. + * modules/mbspbrk (Dependencies): Likewise. + * modules/mbspcasecmp (Dependencies): Likewise. + * modules/mbsrchr (Dependencies): Likewise. + * modules/mbsrtowcs (Dependencies): Likewise. + * modules/mbsspn (Dependencies): Likewise. + * modules/mbsstr (Dependencies): Likewise. + * modules/nl_langinfo (Dependencies): Likewise. + * modules/quotearg (Dependencies): Likewise. + * modules/unicase/locale-language (Dependencies): Likewise. + * modules/unicase/ulc-casecmp (Dependencies): Likewise. + * modules/unicase/ulc-casecoll (Dependencies): Likewise. + * modules/unigbrk/ulc-grapheme-breaks (Dependencies): Likewise. + * modules/unistdio/u8-vasnprintf (Dependencies): Likewise. + * modules/unistdio/u16-vasnprintf (Dependencies): Likewise. + * modules/unistdio/u32-vasnprintf (Dependencies): Likewise. + * modules/unistdio/ulc-vasnprintf (Dependencies): Likewise. + * modules/uniwbrk/ulc-wordbreaks (Dependencies): Likewise. + * modules/vasnprintf-posix (Dependencies): Likewise. + * modules/wcrtomb (Dependencies): Likewise. + * modules/wcsnrtombs (Dependencies): Likewise. + * modules/wcsrtombs (Dependencies): Likewise. + 2011-02-12 Bruno Haible <bruno@clisp.org> setlocale: Workaround native Windows bug.
--- a/modules/btowc-tests +++ b/modules/btowc-tests @@ -8,6 +8,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/c-strcase-tests +++ b/modules/c-strcase-tests @@ -8,6 +8,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/mbmemcasecmp-tests +++ b/modules/mbmemcasecmp-tests @@ -11,6 +11,7 @@ Depends-on: stdbool +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/mbmemcasecoll-tests +++ b/modules/mbmemcasecoll-tests @@ -11,6 +11,7 @@ Depends-on: stdbool +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/mbrtowc-tests +++ b/modules/mbrtowc-tests @@ -14,6 +14,7 @@ Depends-on: mbsinit wctob +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/mbscasecmp-tests +++ b/modules/mbscasecmp-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_TR_UTF8
--- a/modules/mbscasestr-tests +++ b/modules/mbscasestr-tests @@ -13,6 +13,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR_UTF8
--- a/modules/mbschr-tests +++ b/modules/mbschr-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_ZH_CN
--- a/modules/mbscspn-tests +++ b/modules/mbscspn-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR_UTF8
--- a/modules/mbsinit-tests +++ b/modules/mbsinit-tests @@ -8,6 +8,7 @@ Depends-on: mbrtowc +setlocale configure.ac: gt_LOCALE_FR_UTF8
--- a/modules/mbsncasecmp-tests +++ b/modules/mbsncasecmp-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_TR_UTF8
--- a/modules/mbsnrtowcs-tests +++ b/modules/mbsnrtowcs-tests @@ -15,6 +15,7 @@ mbrtowc mbsinit wctob +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/mbspbrk-tests +++ b/modules/mbspbrk-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR_UTF8
--- a/modules/mbspcasecmp-tests +++ b/modules/mbspcasecmp-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_TR_UTF8
--- a/modules/mbsrchr-tests +++ b/modules/mbsrchr-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_ZH_CN
--- a/modules/mbsrtowcs-tests +++ b/modules/mbsrtowcs-tests @@ -15,6 +15,7 @@ mbrtowc mbsinit wctob +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/mbsspn-tests +++ b/modules/mbsspn-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR_UTF8
--- a/modules/mbsstr-tests +++ b/modules/mbsstr-tests @@ -10,6 +10,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR_UTF8
--- a/modules/nl_langinfo-tests +++ b/modules/nl_langinfo-tests @@ -7,6 +7,7 @@ Depends-on: c-strcase +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/quotearg-tests +++ b/modules/quotearg-tests @@ -17,6 +17,7 @@ stdint setenv unsetenv +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/unicase/locale-language-tests +++ b/modules/unicase/locale-language-tests @@ -9,6 +9,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/unicase/ulc-casecmp-tests +++ b/modules/unicase/ulc-casecmp-tests @@ -9,6 +9,7 @@ Depends-on: uninorm/nfd +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/unicase/ulc-casecoll-tests +++ b/modules/unicase/ulc-casecoll-tests @@ -9,6 +9,7 @@ Depends-on: uninorm/nfc +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/unigbrk/ulc-grapheme-breaks-tests +++ b/modules/unigbrk/ulc-grapheme-breaks-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_AR
--- a/modules/unistdio/u16-vasnprintf-tests +++ b/modules/unistdio/u16-vasnprintf-tests @@ -15,6 +15,7 @@ unistr/u16-cpy unistr/u16-strcmp unistr/u16-strlen +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/unistdio/u32-vasnprintf-tests +++ b/modules/unistdio/u32-vasnprintf-tests @@ -15,6 +15,7 @@ unistr/u32-cpy unistr/u32-strcmp unistr/u32-strlen +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/unistdio/u8-vasnprintf-tests +++ b/modules/unistdio/u8-vasnprintf-tests @@ -15,6 +15,7 @@ unistr/u8-cpy unistr/u8-strcmp unistr/u8-strlen +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/unistdio/ulc-vasnprintf-tests +++ b/modules/unistdio/ulc-vasnprintf-tests @@ -11,6 +11,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/uniwbrk/ulc-wordbreaks-tests +++ b/modules/uniwbrk/ulc-wordbreaks-tests @@ -6,6 +6,7 @@ m4/codeset.m4 Depends-on: +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/vasnprintf-posix-tests +++ b/modules/vasnprintf-posix-tests @@ -12,6 +12,7 @@ Depends-on: stdint float +setlocale configure.ac: gt_LOCALE_FR
--- a/modules/wcrtomb-tests +++ b/modules/wcrtomb-tests @@ -10,6 +10,7 @@ Depends-on: btowc +setlocale configure.ac: gt_LOCALE_FR