]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Hide warnings that appear when LANG or LC_MESSAGES is set.
authorBruno Haible <bruno@clisp.org>
Wed, 4 Apr 2001 13:35:30 +0000 (13:35 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 4 Apr 2001 13:35:30 +0000 (13:35 +0000)
tests/ChangeLog
tests/msgfmt-3
tests/msgmerge-5
tests/xgettext-3

index 582921ea97f6ee18bf1d6221b36d8fa0013f64a4..d239336036d9c595ff795a70bd77f9c7442490de 100644 (file)
@@ -1,3 +1,9 @@
+2001-04-04  Bruno Haible  <haible@clisp.cons.org>
+
+       * msgfmt-3: Set LC_MESSAGES=C, to filter out specific warnings.
+       * msgmerge-5: Likewise.
+       * xgettext-3: Likewise.
+
 2001-03-29  Bruno Haible  <haible@clisp.cons.org>
 
        * gettext-0.10.36 released.
index cfc588e132a51c3ff2348990566701029d878675..7bad44179557ceb10c4213edea3d95ffdae77028 100755 (executable)
@@ -19,7 +19,9 @@ EOF
 
 tmpfiles="$tmpfiles mftest3.mo"
 : ${MSGFMT=msgfmt}
-${MSGFMT} mf-test3.po -o mftest3.mo 2>&1 | grep -v 'warning: charset'
+LC_MESSAGES=C LC_ALL= \
+${MSGFMT} mf-test3.po -o mftest3.mo 2>&1 \
+  | grep -v 'warning: charset'
 
 test ! -f mftest3.mo
 result=$?
index 642ecb3f1af89a82e812ed902c015aa292434062..c3529380853806037ed563e16abd0a9a815e66e9 100755 (executable)
@@ -38,6 +38,7 @@ EOF
 
 tmpfiles="$tmpfiles mm-test5.out"
 : ${MSGMERGE=msgmerge}
+LC_MESSAGES=C LC_ALL= \
 ${MSGMERGE} -q mm-test5.in1.po mm-test5.in2.po -o mm-test5.out 2>&1 \
   | grep -v 'warning: charset'
 
index 5cef9a2ad098a50bb28671a7e915e5a775f00f09..ea3e077db8914ac50997a43e63f68a31592a073b 100755 (executable)
@@ -7,6 +7,7 @@ trap 'rm -fr $tmpfiles' 1 2 3 15
 tmpfiles="zero-domain.po"
 rm -f zero-domain.po
 : ${XGETTEXT=xgettext}
+LC_MESSAGES=C LC_ALL= \
 ${XGETTEXT} -k_ -d zero-domain -x $top_srcdir/po/gettext.pot \
   $top_srcdir/src/xgettext.c 2>&1 \
   | grep -v 'warning: charset'