comparison tests/test-gendoc.t @ 27732:ea3937af2bb1

tests: run docchecker in gendoc.t
author timeless <timeless@mozdev.org>
date Wed, 06 Jan 2016 19:57:29 +0000
parents 4a080cf31565
children 3d1baa702d1a
comparison
equal deleted inserted replaced
27731:4a080cf31565 27732:ea3937af2bb1
16 > if [ $LOCALE != C ]; then 16 > if [ $LOCALE != C ]; then
17 > cmp -s gendoc-C.txt gendoc-$LOCALE.txt && echo '** NOTHING TRANSLATED **' 17 > cmp -s gendoc-C.txt gendoc-$LOCALE.txt && echo '** NOTHING TRANSLATED **'
18 > fi 18 > fi
19 > 19 >
20 > echo "checking for parse errors" 20 > echo "checking for parse errors"
21 > python "$TESTDIR/../doc/docchecker" gendoc-$LOCALE.txt
21 > # We call runrst without adding "--halt warning" to make it report 22 > # We call runrst without adding "--halt warning" to make it report
22 > # all errors instead of stopping on the first one. 23 > # all errors instead of stopping on the first one.
23 > python "$TESTDIR/../doc/runrst" html gendoc-$LOCALE.txt /dev/null 24 > python "$TESTDIR/../doc/runrst" html gendoc-$LOCALE.txt /dev/null
24 > done 25 > done
25 26