]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid test failure.
authorBruno Haible <bruno@clisp.org>
Mon, 17 Dec 2001 19:12:19 +0000 (19:12 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 21:49:06 +0000 (23:49 +0200)
tests/ChangeLog
tests/lang-objc

index 919d1c9b78ad1c18143a17d0e291cb22f16be98b..bdf7d0b83fc1114a29095fd6a3ee9cd5977019a7 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-17  Bruno Haible  <bruno@clisp.org>
+
+       * lang-objc: If the locale couldn't be set, skip the test.
+
 2001-12-16  Bruno Haible  <bruno@clisp.org>
 
        * lang-clisp: Also test reversal of arguments.
index 5c88400ed701af66a1dc68a1fb49a4ad696385a0..3bbf16a92bef08b20b14266fe51de73fb045dba6 100755 (executable)
@@ -132,7 +132,12 @@ cat <<\EOF > prog.ok
 EUR remplace FF.
 EOF
 
-LANGUAGE= LC_ALL=fr_FR ./prog 2 > prog.out || exit 1
+LANGUAGE= LC_ALL=fr_FR ./prog 2 > prog.out
+case $? in
+  0) ;;
+  77) echo "SKIP: lang-objc"; rm -fr $tmpfiles; exit 77;;
+  *) exit 1;;
+esac
 ${DIFF} prog.ok prog.out || exit 1
 
 rm -fr $tmpfiles