From patchwork Thu Jul 25 19:19:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2, of, 3, STABLE?] tests: test-gendoc.t checks if anything was translated From: Simon Heimberg X-Patchwork-Id: 1962 Message-Id: <441dffe48410604c3915.1374779991@lapsi.heimberg.home> To: Mercurial-devel Date: Thu, 25 Jul 2013 21:19:51 +0200 # HG changeset patch # User Simon Heimberg # Date 1374778765 -7200 # Node ID 441dffe48410604c391552585154318061b61930 # Parent 02c7739c841d08a4b2e22f4cd6f8ca00d0559e82 tests: test-gendoc.t checks if anything was translated This triggered before the last patch was applied. diff -r 02c7739c841d -r 441dffe48410 tests/test-gendoc.t --- a/tests/test-gendoc.t Don Jul 25 20:59:23 2013 +0200 +++ b/tests/test-gendoc.t Don Jul 25 20:59:25 2013 +0200 @@ -11,6 +11,10 @@ > echo "" >> gendoc-$LOCALE.txt > LANGUAGE=$LOCALE python "$TESTDIR/../doc/gendoc.py" >> gendoc-$LOCALE.txt 2> /dev/null || exit 3 > + > if [ $LOCALE != C ]; then + > diff -q gendoc-C.txt gendoc-$LOCALE.txt > /dev/null && echo '** NOTHING TRANSLATED **' + > fi + > > # We call runrst without adding "--halt warning" to make it report > # all errors instead of stopping on the first one. > echo "checking for parse errors"