texlive[69209] Build/source/texk/web2c: {pdf,xe,{e,}p,{e,}up}tex:

commits+takuji at tug.org commits+takuji at tug.org
Sun Dec 24 13:49:15 CET 2023


Revision: 69209
          https://tug.org/svn/texlive?view=revision&revision=69209
Author:   takuji
Date:     2023-12-24 13:49:15 +0100 (Sun, 24 Dec 2023)
Log Message:
-----------
{pdf,xe,{e,}p,{e,}up}tex: Avoid errors on parallel test processing

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/eptexdir/wcfname.test
    trunk/Build/source/texk/web2c/euptexdir/wcfname.test
    trunk/Build/source/texk/web2c/euptexdir/wcfname0.test
    trunk/Build/source/texk/web2c/pdftexdir/wcfname.test
    trunk/Build/source/texk/web2c/ptexdir/ChangeLog
    trunk/Build/source/texk/web2c/ptexdir/wcfname.test
    trunk/Build/source/texk/web2c/uptexdir/ChangeLog
    trunk/Build/source/texk/web2c/uptexdir/wcfname.test
    trunk/Build/source/texk/web2c/uptexdir/wcfname0.test
    trunk/Build/source/texk/web2c/xetexdir/wcfname.test

Modified: trunk/Build/source/texk/web2c/eptexdir/wcfname.test
===================================================================
--- trunk/Build/source/texk/web2c/eptexdir/wcfname.test	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/eptexdir/wcfname.test	2023-12-24 12:49:15 UTC (rev 69209)
@@ -76,8 +76,8 @@
   $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape -etex --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \
       { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; }
   $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12
-  mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=14
-  mv $doc-$ienc.txt $testdir/ || : echo "FIXME" # check *.fls
+  cp -p $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
@@ -105,11 +105,12 @@
   echo '>>> Document:'$doc '  File Encoding:'$fenc '  Internal Encoding:'$ienc
   $_kpsewhich -progname=$engine $doc.tex || rc=20
   $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=21
-  rm -f $testdir/$doc-tmp.tex $testdir/$doc-$ienc.txt $testdir/$doc-$ienc.log $testdir/$doc-$ienc.fls
+  rm -f $testdir/$doc-tmp.tex $testdir/$doc-$ienc.txt $testdir/$doc-$ienc.log
   $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape -etex --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \
       { rc=3 ; err3=$err3" $fenc:$ienc:$doc" ; }
   $_kpsewhich -progname=$engine $doc-tmp.tex || rc=22
-  mv $doc-$ienc.txt $doc-$ienc.log $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls
+  cp -p $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" ; }
 

Modified: trunk/Build/source/texk/web2c/euptexdir/wcfname.test
===================================================================
--- trunk/Build/source/texk/web2c/euptexdir/wcfname.test	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/euptexdir/wcfname.test	2023-12-24 12:49:15 UTC (rev 69209)
@@ -88,7 +88,7 @@
   $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape -etex --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \
       { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; }
   $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12
-  mv $doc-$ienc.txt $doc-$ienc.log $doc-$ienc.fls $testdir/ || rc=14
+  cp -p $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" ; }
 

Modified: trunk/Build/source/texk/web2c/euptexdir/wcfname0.test
===================================================================
--- trunk/Build/source/texk/web2c/euptexdir/wcfname0.test	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/euptexdir/wcfname0.test	2023-12-24 12:49:15 UTC (rev 69209)
@@ -81,7 +81,7 @@
   $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape -etex --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \
       { rc=1 ; err1=$err1" $fenc:$ienc:$doc" ; }
   $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12
-  mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=14
+  cp -p $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" ; }
@@ -118,7 +118,7 @@
   $_tex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape -etex --recorder $doc.tex >$testdir/$doc-$fenc-$ienc-term.log || \
       { rc=3 ; err3=$err3" $fenc:$ienc:$doc" ; }
   $_kpsewhich -progname=$engine $doc-tmp.tex || rc=22
-  mv $doc-$ienc.txt $doc-$ienc.log $testdir/ || rc=24
+  cp -p $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" ; }

Modified: trunk/Build/source/texk/web2c/pdftexdir/wcfname.test
===================================================================
--- trunk/Build/source/texk/web2c/pdftexdir/wcfname.test	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/pdftexdir/wcfname.test	2023-12-24 12:49:15 UTC (rev 69209)
@@ -70,7 +70,7 @@
   $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape -etex --recorder $doc.tex >$testdir/$doc-term.log || \
       { rc=1 ; err1=$err1" $fenc:$doc" ; }
   $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12
-  mv $doc.txt $doc.log $doc.fls $testdir/ || rc=14
+  cp -p $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" ; }

Modified: trunk/Build/source/texk/web2c/ptexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ptexdir/ChangeLog	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/ptexdir/ChangeLog	2023-12-24 12:49:15 UTC (rev 69209)
@@ -1,3 +1,8 @@
+2023-12-24  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
+
+	* wcfname.test:
+	Avoid errors on parallel test processing.
+
 2023-11-25  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
 
 	* wcfname.test: Add tests for --recorder and *.fls.

Modified: trunk/Build/source/texk/web2c/ptexdir/wcfname.test
===================================================================
--- trunk/Build/source/texk/web2c/ptexdir/wcfname.test	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/ptexdir/wcfname.test	2023-12-24 12:49:15 UTC (rev 69209)
@@ -13,7 +13,7 @@
 _tex=$BinDir/$engine$ExeExt
 
 test -d $testdir || mkdir -p $testdir
-rm -f $testdir/fn*.log $testdir/fn*.txt $testdir/fn*.tex fn*.tex
+rm -f $testdir/fn*.log $testdir/fn*.txt $testdir/fn*-tmp*.tex
 
 rc=0; err1=; err2=; err3=; err4=
 
@@ -72,11 +72,12 @@
   echo '>>> Document:'$doc '  File Encoding:'$fenc '  Internal Encoding:'$ienc
   $_kpsewhich -progname=$engine $doc.tex || rc=10
   $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11
+  rm -f $testdir/$doc-tmp.tex $testdir/$doc-$ienc.txt $testdir/$doc-$ienc.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/ || rc=14
+  cp -p $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" ; }
@@ -105,11 +106,12 @@
   echo '>>> Document:'$doc '  File Encoding:'$fenc '  Internal Encoding:'$ienc
   $_kpsewhich -progname=$engine $doc.tex || rc=20
   $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=21
+  rm -f $testdir/$doc-tmp.tex $testdir/$doc-$ienc.txt $testdir/$doc-$ienc.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/ || rc=24
+  cp -p $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" ; }

Modified: trunk/Build/source/texk/web2c/uptexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/ChangeLog	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/uptexdir/ChangeLog	2023-12-24 12:49:15 UTC (rev 69209)
@@ -1,3 +1,8 @@
+2023-12-24  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
+
+	* wcfname{,0}.test:
+	Avoid errors on parallel test processing.
+
 2023-11-25  TANAKA Takuji  <ttk at t-lab.opal.ne.jp>
 
 	* wcfname{,0}.test: Add tests for --recorder and *.fls.

Modified: trunk/Build/source/texk/web2c/uptexdir/wcfname.test
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/wcfname.test	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/uptexdir/wcfname.test	2023-12-24 12:49:15 UTC (rev 69209)
@@ -13,7 +13,7 @@
 _tex=$BinDir/$engine$ExeExt
 
 test -d $testdir || mkdir -p $testdir
-rm -f $testdir/fn*.log $testdir/fn*.txt $testdir/fn*.tex fn*.tex
+rm -f $testdir/fn*.log $testdir/fn*.txt $testdir/fn*-tmp*.tex
 
 rc=0; err1=; err2=
 
@@ -84,11 +84,12 @@
   echo '>>> Document:'$doc '  File Encoding:'$fenc '  Internal Encoding:'$ienc
   $_kpsewhich -progname=$engine $doc.tex || rc=10
   $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11
+  rm -f $testdir/$doc-tmp.tex $testdir/$doc-$ienc.txt $testdir/$doc-$ienc.log $testdir/$doc-$ienc.fls
   $_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 $doc-$ienc.fls $testdir/ || rc=14
+  cp -p $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" ; }
 

Modified: trunk/Build/source/texk/web2c/uptexdir/wcfname0.test
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/wcfname0.test	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/uptexdir/wcfname0.test	2023-12-24 12:49:15 UTC (rev 69209)
@@ -13,7 +13,7 @@
 _tex=$BinDir/$engine$ExeExt
 
 test -d $testdir || mkdir -p $testdir
-rm -f $testdir/fn*.log $testdir/fn*.txt $testdir/fn*.tex fn*.tex
+rm -f $testdir/fn*.log $testdir/fn*.txt $testdir/fn*-tmp*.tex
 
 rc=0; err1=; err2=; err3=; err4=
 
@@ -77,11 +77,12 @@
   echo '>>> Document:'$doc '  File Encoding:'$fenc '  Internal Encoding:'$ienc
   $_kpsewhich -progname=$engine $doc.tex || rc=10
   $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=11
+  rm -f $testdir/$doc-tmp.tex $testdir/$doc-$ienc.txt $testdir/$doc-$ienc.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/ || rc=14
+  cp -p $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" ; }
@@ -114,11 +115,12 @@
   echo '>>> Document:'$doc '  File Encoding:'$fenc '  Internal Encoding:'$ienc
   $_kpsewhich -progname=$engine $doc.tex || rc=20
   $_kpsewhich -progname=$engine fn±×÷§¶-utf8.tex || rc=21
+  rm -f $testdir/$doc-tmp.tex $testdir/$doc-$ienc.txt $testdir/$doc-$ienc.log $testdir/$doc-$ienc.fls
   $_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 $doc-$ienc.fls $testdir/ || : echo "FIXME" # check *.fls
+  cp -p $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" ; }
 

Modified: trunk/Build/source/texk/web2c/xetexdir/wcfname.test
===================================================================
--- trunk/Build/source/texk/web2c/xetexdir/wcfname.test	2023-12-24 11:16:21 UTC (rev 69208)
+++ trunk/Build/source/texk/web2c/xetexdir/wcfname.test	2023-12-24 12:49:15 UTC (rev 69209)
@@ -70,7 +70,7 @@
   $_tex -ini -interaction nonstopmode -jobname=$doc --shell-escape -etex --recorder $doc.tex >$testdir/$doc-term.log || \
       { rc=1 ; err1=$err1" $fenc:$doc" ; }
   $_kpsewhich -progname=$engine $doc-tmp.tex || rc=12
-  mv $doc.txt $doc.log $doc.fls $testdir/ || rc=14
+  cp -p $doc.txt $doc.log $doc.fls $testdir/ || rc=14
   diff $testdir/$doc.txt $srcdir/tests/fn-utf8.txt || \
       { rc=2 ; err2=$err2" $fenc:$doc" ; }
 



More information about the tex-live-commits mailing list.