[PATCH 2 of 3 STABLE?] tests: test-gendoc.t checks if anything was translated
Simon Heimberg
simohe at besonet.ch
Thu Jul 25 19:19:51 UTC 2013
# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# 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"
More information about the Mercurial-devel
mailing list