diff options
Diffstat (limited to 'Build/source/texk/web2c/ptexdir/wcfname.test')
-rwxr-xr-x | Build/source/texk/web2c/ptexdir/wcfname.test | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/Build/source/texk/web2c/ptexdir/wcfname.test b/Build/source/texk/web2c/ptexdir/wcfname.test deleted file mode 100755 index b1f5ebd53bf..00000000000 --- a/Build/source/texk/web2c/ptexdir/wcfname.test +++ /dev/null @@ -1,51 +0,0 @@ -#! /bin/sh -vx -# -# Copyright 2022 Japanese TeX Development Community <issue@texjp.org> -# You may freely use, modify and/or distribute this file. - -test -d ptests || mkdir -p ptests -rm -f ptests/fn*.log ptests/fn*.txt ptests/fn*.tex - -rc=0 - -TEXMFCNF=$srcdir/../kpathsea -TEXINPUTS=$srcdir/tests:. -export TEXMFCNF TEXINPUTS - -# pTeX internal encoding -fenc="utf8" -for ienc in euc sjis; do -for doc in fnさざ波-$fenc; do - - echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc - ./ptex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >ptests/$doc-$ienc-term.log || $rc=1 - mv $doc-$ienc.txt $doc-$ienc.log $doc-tmp.tex ptests/ - diff ptests/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || $rc=2 - -done -done - - -# pTeX, regacy encoding -for fenc in sjis euc; do -for doc in fnさざ波-$fenc; do - - ienc=$fenc - if [ "$COMSPEC" != "" ]; then - echo "*** We guess OS is Windows." - if [ $fenc != euc ]; then ienc="sjis"; fi - else - echo "*** We guess OS is not Windows." - if [ $fenc != sjis ]; then ienc="euc"; fi - fi - - echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc - ./ptex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >ptests/$doc-$fenc-term.log || $rc=3 - mv $doc-$ienc.txt $doc-$ienc.log $doc-tmp.tex ptests/ - diff ptests/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || $rc=4 - -done -done - - -exit $rc |