From: Bruno Haible Date: Sun, 14 Sep 2025 07:47:44 +0000 (+0200) Subject: lang-javascript: Avoid failure on macOS 13..15. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1910a92249116fd7120d28baaef20d6cc0dce2fb;p=thirdparty%2Fgettext.git lang-javascript: Avoid failure on macOS 13..15. * gettext-tools/tests/lang-javascript: On macOS, test only in the UTF-8 locale. --- diff --git a/gettext-tools/tests/lang-javascript b/gettext-tools/tests/lang-javascript index 7063da651..33f62058b 100755 --- a/gettext-tools/tests/lang-javascript +++ b/gettext-tools/tests/lang-javascript @@ -74,6 +74,10 @@ ${MSGFMT} -c -o fr/LC_MESSAGES/prog.mo fr.po # Test which of the fr_FR locales are installed. : ${LOCALE_FR=fr_FR} : ${LOCALE_FR_UTF8=fr_FR.UTF-8} +# gjs on macOS supports only UTF-8 locales. +case "$host_os" in + darwin*) LOCALE_FR=none ;; +esac if test $LOCALE_FR != none; then LC_ALL=$LOCALE_FR ../testlocale case $? in