]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Skip the test on systems that don't have an EUC-JP locale.
authorBruno Haible <bruno@clisp.org>
Fri, 9 Jun 2006 20:28:32 +0000 (20:28 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:22 +0000 (12:13 +0200)
gettext-tools/tests/ChangeLog
gettext-tools/tests/recode-sr-latin-2

index 23e465f5e356c2cde2bd8ad19581d6b8e754b0b8..466a2c1c553ab9f1bb4e1dfbaf3e9c50ff30b28f 100644 (file)
@@ -1,3 +1,7 @@
+2006-06-04  Bruno Haible  <bruno@clisp.org>
+
+        * recode-sr-latin-2: Skip the test on MacOS X and BeOS.
+
 2006-06-04  Bruno Haible  <bruno@clisp.org>
 
        * lang-php: Skip the test if php does not have the 'gettext' module
index aea706da7f7576eb66d69626302376992b764929..0c511ed4ae5adfeabb6fba2f6f3e81f28d8443be 100755 (executable)
@@ -26,6 +26,16 @@ if test $LOCALE_JA_EUCJP = none; then
   rm -fr $tmpfiles; exit 77
 fi
 
+# Test whether locale_charset() in this locale really returns EUC-JP.
+# (On some systems, config.charset supports only UTF-8 locales.)
+case "$host_os" in
+  darwin[56]*) ;;
+  darwin* | beos*)
+    echo "Skipping test: no EUC-JP locale is supported"
+    rm -fr $tmpfiles; exit 77
+    ;;
+esac
+
 tmpfiles="$tmpfiles rec-srl-2.in"
 cat <<\EOF > rec-srl-2.in
 §ª§ã§á§â§Ñ§Ó§ß§Ú §Ñ§â§Ô§å§Þ§Ö§ß§ä§Ú §ã§å