diff options
Diffstat (limited to 'tests/test-gendoc.t')
-rw-r--r-- | tests/test-gendoc.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-gendoc.t b/tests/test-gendoc.t index 63a67d7..33259f1 100644 --- a/tests/test-gendoc.t +++ b/tests/test-gendoc.t @@ -3,18 +3,18 @@ Test document extraction $ "$TESTDIR/hghave" docutils || exit 80 $ HGENCODING=UTF-8 $ export HGENCODING - $ { echo C; find "$TESTDIR/../i18n" -name "*.po" | sort; } | while read PO; do - > LOCALE=`basename "$PO" .po` + $ for PO in C $TESTDIR/../i18n/*.po; do + > LOCALE=`basename $PO .po` > echo > echo "% extracting documentation from $LOCALE" > echo ".. -*- coding: utf-8 -*-" > gendoc-$LOCALE.txt > echo "" >> gendoc-$LOCALE.txt - > LC_ALL=$LOCALE python "$TESTDIR/../doc/gendoc.py" >> gendoc-$LOCALE.txt 2> /dev/null || exit + > LC_ALL=$LOCALE python $TESTDIR/../doc/gendoc.py >> gendoc-$LOCALE.txt 2> /dev/null || exit > > # 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" - > python "$TESTDIR/../doc/runrst" html gendoc-$LOCALE.txt /dev/null + > python $TESTDIR/../doc/runrst html gendoc-$LOCALE.txt /dev/null > done % extracting documentation from C |