lang-perl-*: Avoid FAIL on macOS.

Reported by Hanspeter Niederstrasser <nieder@users.sourceforge.net>
at <https://savannah.gnu.org/bugs/?66461>.

* gettext-tools/tests/lang-perl-1: On macOS, don't test the ISO-8859-1 locale.
* gettext-tools/tests/lang-perl-2: Likewise.
This commit is contained in:
Bruno Haible 2024-11-27 00:57:00 +01:00
parent 48667189c3
commit 6a82c91e02
2 changed files with 4 additions and 4 deletions

View File

@ -100,9 +100,9 @@ perl -e 'use Locale::Messages;' 2>/dev/null \
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
# perl on NetBSD supports only UTF-8 locales.
# perl on macOS (Fink) and NetBSD supports only UTF-8 locales.
case "$host_os" in
netbsd*) LOCALE_FR=none ;;
darwin* | netbsd*) LOCALE_FR=none ;;
esac
if test $LOCALE_FR != none; then
prepare_locale_ fr $LOCALE_FR

View File

@ -100,9 +100,9 @@ perl -M'Locale::TextDomain' -e '' 2>/dev/null \
: ${LOCALE_FR=fr_FR}
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
# perl on NetBSD supports only UTF-8 locales.
# perl on macOS (Fink) and NetBSD supports only UTF-8 locales.
case "$host_os" in
netbsd*) LOCALE_FR=none ;;
darwin* | netbsd*) LOCALE_FR=none ;;
esac
if test $LOCALE_FR != none; then
prepare_locale_ fr $LOCALE_FR