mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 09:48:05 +03:00
tests: remove the i18n related tests
Summary: I guess this was missed as part of D15291618 which intended to remove the i18n related tests. Differential Revision: D15301699 fbshipit-source-id: e0364e37695c60ec05f2d533903f136706661a1f
This commit is contained in:
parent
10b2f48ed6
commit
4de29d283f
@ -1,33 +0,0 @@
|
||||
#require docutils
|
||||
#require gettext
|
||||
|
||||
Test document extraction
|
||||
|
||||
$ HGENCODING=UTF-8
|
||||
$ export HGENCODING
|
||||
$ { echo C; ls "$TESTDIR/../i18n"/*.po | sort; } | while read PO; do
|
||||
> LOCALE=`basename "$PO" .po`
|
||||
> echo "% extracting documentation from $LOCALE"
|
||||
> LANGUAGE=$LOCALE $PYTHON "$TESTDIR/../doc/gendoc.py" >> gendoc-$LOCALE.txt 2> /dev/null || exit
|
||||
>
|
||||
> if [ $LOCALE != C ]; then
|
||||
> 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) **"
|
||||
> fi
|
||||
> done; true
|
||||
% extracting documentation from C
|
||||
% extracting documentation from da
|
||||
% extracting documentation from de
|
||||
missing test-gendoc-de.t
|
||||
% 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
|
||||
% extracting documentation from ru
|
||||
% extracting documentation from sv
|
||||
% extracting documentation from zh_CN
|
||||
% extracting documentation from zh_TW
|
Loading…
Reference in New Issue
Block a user