diff options
author | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2023-11-25 14:28:06 +0000 |
---|---|---|
committer | Takuji Tanaka <ttk@t-lab.opal.ne.jp> | 2023-11-25 14:28:06 +0000 |
commit | 1693d8895c4b738a561477f64f7a08d5361d0f8c (patch) | |
tree | 68ca40d6730a2a567bceeee9ca7d64fecf6116ad /Build | |
parent | 736eb7bc25666b6b45e3ff714a1546d0bbe8622a (diff) |
{pdf,xe,{,e}{,u}p}tex: Add tests option --recorder
git-svn-id: svn://tug.org/texlive/trunk@68965 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/eptexdir/ChangeLog | 5 | ||||
-rwxr-xr-x | Build/source/texk/web2c/eptexdir/wcfname.test | 9 | ||||
-rw-r--r-- | Build/source/texk/web2c/euptexdir/ChangeLog | 5 | ||||
-rwxr-xr-x | Build/source/texk/web2c/euptexdir/wcfname.test | 4 | ||||
-rwxr-xr-x | Build/source/texk/web2c/euptexdir/wcfname0.test | 10 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 4 | ||||
-rwxr-xr-x | Build/source/texk/web2c/pdftexdir/wcfname.test | 4 | ||||
-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 | ||||
-rw-r--r-- | Build/source/texk/web2c/uptexdir/ChangeLog | 5 | ||||
-rwxr-xr-x | Build/source/texk/web2c/uptexdir/wcfname.test | 4 | ||||
-rwxr-xr-x | Build/source/texk/web2c/uptexdir/wcfname0.test | 9 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/ChangeLog | 4 | ||||
-rwxr-xr-x | Build/source/texk/web2c/xetexdir/wcfname.test | 4 |
15 files changed, 60 insertions, 26 deletions
diff --git a/Build/source/texk/web2c/eptexdir/ChangeLog b/Build/source/texk/web2c/eptexdir/ChangeLog index 2aec4aaec9b..baada61bbc2 100644 --- a/Build/source/texk/web2c/eptexdir/ChangeLog +++ b/Build/source/texk/web2c/eptexdir/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> * eptriptest.test, eptrip/eptrip.{log,tex}: diff --git a/Build/source/texk/web2c/eptexdir/wcfname.test b/Build/source/texk/web2c/eptexdir/wcfname.test index ce448d9617e..502880d742c 100755 --- a/Build/source/texk/web2c/eptexdir/wcfname.test +++ b/Build/source/texk/web2c/eptexdir/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.txt $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,11 @@ 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 $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/euptexdir/ChangeLog b/Build/source/texk/web2c/euptexdir/ChangeLog index ebb45171759..f3cfab811b9 100644 --- a/Build/source/texk/web2c/euptexdir/ChangeLog +++ b/Build/source/texk/web2c/euptexdir/ChangeLog @@ -1,3 +1,8 @@ +2023-11-25 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * wcfname{,0}.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> * wcfname.test: Add test for file names with over-BMP diff --git a/Build/source/texk/web2c/euptexdir/wcfname.test b/Build/source/texk/web2c/euptexdir/wcfname.test index b84ec11877b..f8c56d732f1 100755 --- a/Build/source/texk/web2c/euptexdir/wcfname.test +++ b/Build/source/texk/web2c/euptexdir/wcfname.test @@ -84,11 +84,11 @@ for doc in fn-$fenc fnさざ波-$fenc fn£¥µÆÇñß-$fenc fnΔДदダ打다 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 $doc-$ienc.fls $testdir/ || rc=14 diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=2 ; err2=$err2" $fenc:$ienc:$doc" ; } diff --git a/Build/source/texk/web2c/euptexdir/wcfname0.test b/Build/source/texk/web2c/euptexdir/wcfname0.test index 9aaa3d9157d..e6199b0c8db 100755 --- a/Build/source/texk/web2c/euptexdir/wcfname0.test +++ b/Build/source/texk/web2c/euptexdir/wcfname0.test @@ -77,11 +77,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 @@ -113,11 +114,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/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog index 96f9975bd3b..223c74b527d 100644 --- a/Build/source/texk/web2c/pdftexdir/ChangeLog +++ b/Build/source/texk/web2c/pdftexdir/ChangeLog @@ -1,3 +1,7 @@ +2023-11-25 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * wcfname.test: Add tests for --recorder and *.fls. + 2023-11-24 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * wcfname.test: Add test for file names with over-BMP diff --git a/Build/source/texk/web2c/pdftexdir/wcfname.test b/Build/source/texk/web2c/pdftexdir/wcfname.test index 9b19b9a348e..20d34b003e6 100755 --- a/Build/source/texk/web2c/pdftexdir/wcfname.test +++ b/Build/source/texk/web2c/pdftexdir/wcfname.test @@ -66,11 +66,11 @@ for doc in fn-$fenc fn£¥µÆÇñß-$fenc fnさざ波-$fenc fnΔДदダ打다 echo '>>> Document:'$doc ' File Encoding:'$fenc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape $doc.tex >$testdir/$doc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape --recorder $doc.tex >$testdir/$doc-term.log || \ { rc=1 ; err1=$err1" $fenc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc.txt $doc.log $testdir/ + mv $doc.txt $doc.log $doc.fls $testdir/ || rc=14 ## It does not work. ## diff $testdir/$doc.txt $srcdir/tests/fn-$fenc.txt || \ ## { rc=2 ; err2=$err2" $fenc:$doc" ; } 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 diff --git a/Build/source/texk/web2c/uptexdir/ChangeLog b/Build/source/texk/web2c/uptexdir/ChangeLog index 39b3fe94a15..18d98a88093 100644 --- a/Build/source/texk/web2c/uptexdir/ChangeLog +++ b/Build/source/texk/web2c/uptexdir/ChangeLog @@ -1,3 +1,8 @@ +2023-11-25 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * wcfname{,0}.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> * wcfname.test: Add test for file names with over-BMP diff --git a/Build/source/texk/web2c/uptexdir/wcfname.test b/Build/source/texk/web2c/uptexdir/wcfname.test index a3367bdf2a0..c0bf2a2c26e 100755 --- a/Build/source/texk/web2c/uptexdir/wcfname.test +++ b/Build/source/texk/web2c/uptexdir/wcfname.test @@ -84,11 +84,11 @@ for doc in fn-$fenc fnさざ波-$fenc fn£¥µÆÇñß-$fenc fnΔДदダ打다 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 $doc-$ienc.fls $testdir/ || rc=14 diff $testdir/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || \ { rc=2 ; err2=$err2" $fenc:$ienc:$doc" ; } diff --git a/Build/source/texk/web2c/uptexdir/wcfname0.test b/Build/source/texk/web2c/uptexdir/wcfname0.test index bc67f869db8..3ee99ce45d4 100755 --- a/Build/source/texk/web2c/uptexdir/wcfname0.test +++ b/Build/source/texk/web2c/uptexdir/wcfname0.test @@ -77,11 +77,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 @@ -113,11 +114,11 @@ 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 $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/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog index b33e37e60e8..d832731c013 100644 --- a/Build/source/texk/web2c/xetexdir/ChangeLog +++ b/Build/source/texk/web2c/xetexdir/ChangeLog @@ -1,3 +1,7 @@ +2023-11-25 TANAKA Takuji <ttk@t-lab.opal.ne.jp> + + * wcfname.test: Add tests for --recorder and *.fls. + 2023-08-20 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * {wcfname,xetex-bug73,xetex-filedump,xetex}.test: diff --git a/Build/source/texk/web2c/xetexdir/wcfname.test b/Build/source/texk/web2c/xetexdir/wcfname.test index a07d88b37e1..78c63264d82 100755 --- a/Build/source/texk/web2c/xetexdir/wcfname.test +++ b/Build/source/texk/web2c/xetexdir/wcfname.test @@ -66,11 +66,11 @@ for doc in fn-$fenc fn£¥µÆÇñß-$fenc fnさざ波-$fenc; do echo '>>> Document:'$doc ' File Encoding:'$fenc $_kpsewhich -progname=$engine $doc.tex || rc=10 $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11 - $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape $doc.tex >$testdir/$doc-term.log || \ + $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape --recorder $doc.tex >$testdir/$doc-term.log || \ { rc=1 ; err1=$err1" $fenc:$doc" ; } $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12 $_kpsewhich -progname=$engine fn±×÷§¶-utf8-tmp.tex || rc=13 - mv $doc.txt $doc.log $testdir/ + mv $doc.txt $doc.log $doc.fls $testdir/ || rc=14 diff $testdir/$doc.txt $srcdir/tests/fn-utf8.txt || \ { rc=2 ; err2=$err2" $fenc:$doc" ; } |