##// END OF EJS Templates
py3: use multi-line import in test-wireproto.py...
py3: use multi-line import in test-wireproto.py The reason I did it is that I had a later commit that was adding to the list.

File last commit:

r28809:7a1ad08b default
r28860:50d11dd8 default
Show More
test-gendoc.t
32 lines | 1.1 KiB | text/troff | Tads3Lexer
Matt Mackall
tests: replace exit 80 with #require
r22046 #require docutils
Eric Sumner
test-gendoc: require gettext...
r24043 #require gettext
Matt Mackall
tests: replace exit 80 with #require
r22046
Matt Mackall
tests: unify test-gendoc
r12427 Test document extraction
$ HGENCODING=UTF-8
$ export HGENCODING
Simon Heimberg
tests: use ls instead of find, all files are in the same directory...
r20390 $ { echo C; ls "$TESTDIR/../i18n"/*.po | sort; } | while read PO; do
Thomas Arendsen Hein
tests: make tests work if directory contains special characters...
r16350 > LOCALE=`basename "$PO" .po`
Matt Mackall
tests: unify test-gendoc
r12427 > echo "% extracting documentation from $LOCALE"
Simon Heimberg
tests: really test translations for rst syntax errors (issue4003)...
r19922 > LANGUAGE=$LOCALE python "$TESTDIR/../doc/gendoc.py" >> gendoc-$LOCALE.txt 2> /dev/null || exit
Matt Mackall
tests: unify test-gendoc
r12427 >
Simon Heimberg
tests: test-gendoc.t checks if anything was translated...
r19923 > if [ $LOCALE != C ]; then
timeless
tests: splitting test-gendoc.t into per file tests...
r28809 > if [ ! -f $TESTDIR/test-gendoc-$LOCALE.t ]; then
> echo missing test-gendoc-$LOCALE.t
> fi
> cmp -s gendoc-C.txt gendoc-$LOCALE.txt && echo "** NOTHING TRANSLATED ($LOCALE) **"
Simon Heimberg
tests: test-gendoc.t checks if anything was translated...
r19923 > fi
timeless
tests: splitting test-gendoc.t into per file tests...
r28809 > done; true
Matt Mackall
tests: unify test-gendoc
r12427 % extracting documentation from C
% extracting documentation from da
% extracting documentation from de
% extracting documentation from el
% extracting documentation from fr
% extracting documentation from it
% extracting documentation from ja
% extracting documentation from pt_BR
% extracting documentation from ro
Martin Geisler
test-gendoc: update for new Russian translation
r14475 % extracting documentation from ru
Matt Mackall
tests: unify test-gendoc
r12427 % extracting documentation from sv
% extracting documentation from zh_CN
% extracting documentation from zh_TW