tests/test-gendoc.t
changeset 19922 f27deed5c23f
parent 16350 4f795f5fbb0b
child 19923 52bc80d0769f
equal deleted inserted replaced
19921:baf1600adfbe 19922:f27deed5c23f
     7   >     LOCALE=`basename "$PO" .po`
     7   >     LOCALE=`basename "$PO" .po`
     8   >     echo
     8   >     echo
     9   >     echo "% extracting documentation from $LOCALE"
     9   >     echo "% extracting documentation from $LOCALE"
    10   >     echo ".. -*- coding: utf-8 -*-" > gendoc-$LOCALE.txt
    10   >     echo ".. -*- coding: utf-8 -*-" > gendoc-$LOCALE.txt
    11   >     echo "" >> gendoc-$LOCALE.txt
    11   >     echo "" >> gendoc-$LOCALE.txt
    12   >     LC_ALL=$LOCALE python "$TESTDIR/../doc/gendoc.py" >> gendoc-$LOCALE.txt 2> /dev/null || exit
    12   >     LANGUAGE=$LOCALE python "$TESTDIR/../doc/gendoc.py" >> gendoc-$LOCALE.txt 2> /dev/null || exit
    13   > 
    13   > 
    14   >     # We call runrst without adding "--halt warning" to make it report
    14   >     # We call runrst without adding "--halt warning" to make it report
    15   >     # all errors instead of stopping on the first one.
    15   >     # all errors instead of stopping on the first one.
    16   >     echo "checking for parse errors"
    16   >     echo "checking for parse errors"
    17   >     python "$TESTDIR/../doc/runrst" html gendoc-$LOCALE.txt /dev/null
    17   >     python "$TESTDIR/../doc/runrst" html gendoc-$LOCALE.txt /dev/null