diff options
Diffstat (limited to 'Build/source/texk/web2c/ptexdir')
-rw-r--r-- | Build/source/texk/web2c/ptexdir/ChangeLog | 5 | ||||
-rwxr-xr-x | Build/source/texk/web2c/ptexdir/wcfname.test | 10 | ||||
-rwxr-xr-x | Build/source/texk/web2c/ptexdir/zfmtcompress.test | 4 |
3 files changed, 13 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/ptexdir/ChangeLog b/Build/source/texk/web2c/ptexdir/ChangeLog index c6d9a558df4..ffd56a55c81 100644 --- a/Build/source/texk/web2c/ptexdir/ChangeLog +++ b/Build/source/texk/web2c/ptexdir/ChangeLog @@ -1,3 +1,8 @@ +2023-11-25 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * wcfname.test: Add tests for --recorder and *.fls. + https://github.com/texjporg/tex-jp-build/issues/45 + 2023-11-24 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * ptriptest.test: diff --git a/Build/source/texk/web2c/ptexdir/wcfname.test b/Build/source/texk/web2c/ptexdir/wcfname.test index e53866f61d4..f20a66a75bf 100755 --- a/Build/source/texk/web2c/ptexdir/wcfname.test +++ b/Build/source/texk/web2c/ptexdir/wcfname.test @@ -72,11 +72,12 @@ for doc in fn-$fenc fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=14 + mv $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=2 ; err2=$err2" $fenc:$ienc:$doc" ; } rm -f $testdir/fn±×÷§¶-utf8-tmp.tex @@ -104,11 +105,12 @@ for doc in fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc $_kpsewhich -progname=$engine $doc.tex || rc=20 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=21 - $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \ { rc=3 ; err3=$err3" $fenc:$ienc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=22 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=23 - mv $doc-$ienc.txt $doc-$ienc.log $testdir/ + mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=24 + mv $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=4 ; err4=$err4" $fenc:$ienc:$doc" ; } diff --git a/Build/source/texk/web2c/ptexdir/zfmtcompress.test b/Build/source/texk/web2c/ptexdir/zfmtcompress.test index 35733a5d4ca..31b67dce06f 100755 --- a/Build/source/texk/web2c/ptexdir/zfmtcompress.test +++ b/Build/source/texk/web2c/ptexdir/zfmtcompress.test @@ -47,7 +47,7 @@ test0() { rm -f stress-$ENGINE.fmt test0.dvi test0.xdv &>/dev/null $_engine -ini -etex -progname=$ENGINE -jobname=stress-$ENGINE stress &>/dev/null ls -l stress-$ENGINE.fmt - if [[ $ENGINE = "xetex" ]]; then + if [[ "$ENGINE" = "xetex" ]]; then $_engine -fmt=./stress-$ENGINE.fmt -no-pdf test0.tex &>/dev/null ls -l test0.xdv else @@ -86,7 +86,7 @@ test1() { rm -f latex-$ENGINE.fmt test1.dvi test1.xdv &>/dev/null $_engine -ini -etex -progname=latex-dev -jobname=latex-$ENGINE latex.ini &>/dev/null ls -l latex-$ENGINE.fmt - if [[ $ENGINE = "xetex" ]]; then + if [[ "$ENGINE" = "xetex" ]]; then $_engine -fmt=./latex-$ENGINE.fmt -no-pdf test1.tex &>/dev/null ls -l test1.xdv else |