]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid a test failure that is only due to gawk.
authorBruno Haible <bruno@clisp.org>
Thu, 20 Feb 2003 17:52:42 +0000 (17:52 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:13 +0000 (12:10 +0200)
gettext-tools/tests/ChangeLog
gettext-tools/tests/lang-gawk

index 0846c7bbdf1392c92751f61bc0b570dfa05b2bbb..8ee04689a35df67f9f6df133d5bcca0e672cf8a4 100644 (file)
@@ -1,3 +1,8 @@
+2003-02-20  Bruno Haible  <bruno@clisp.org>
+
+       * lang-gawk: Skip the test if gawk was built with --disable-nls.
+       Reported by Paul Jarc <prj@po.cwru.edu>.
+
 2003-02-18  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.am (clean-am): New rule. For Solaris cc.
index 97beef5c3fb15940826e37b9b1a67c8eb7680628..2914f40bbd0c4446111119bb9aa8d8ec94d81af0 100755 (executable)
@@ -89,6 +89,10 @@ case `gawk --version 2>&1 | sed -e 's/^[^0-9]*//'` in
     echo "SKIP: lang-gawk"; rm -fr $tmpfiles; exit 77;;
 esac
 
+# Test that gawk wasn't built with --disable-nls.
+LANGUAGE= LC_ALL=fr_FR gawk --version | grep logiciel > /dev/null
+test $? = 0 || { echo "SKIP: lang-gawk"; rm -fr $tmpfiles; exit 77; }
+
 tmpfiles="$tmpfiles prog.ok prog.out"
 : ${DIFF=diff}
 cat <<\EOF > prog.ok