Skip to content

Commit

Permalink
(u)ptex-*: rename tests (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Dec 22, 2022
1 parent ec0c432 commit 5a947d8
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 10 deletions.
4 changes: 2 additions & 2 deletions source/texk/web2c/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4499,7 +4499,7 @@ ptex_ch_srcs = \

# pTeX Tests
#
ptex_tests = ptexdir/ptriptest.test ptexdir/pver.test ptexdir/pfname.test
ptex_tests = ptexdir/ptriptest.test ptexdir/pver.test ptexdir/wcfname.test
eptex_CPPFLAGS = $(PTEXENC_INCLUDES) $(AM_CPPFLAGS) -I$(srcdir)/libmd5 \
$(ZLIB_INCLUDES) $(am__append_144)

Expand Down Expand Up @@ -4602,7 +4602,7 @@ uptftopl_LDADD = $(uptex_ldadd)
uptftopl_DEPENDENCIES = $(uptex_dependencies)

# upTeX Tests
uptex_tests = uptexdir/uptriptest.test uptexdir/upver.test uptexdir/upkcat.test uptexdir/pfname.test
uptex_tests = uptexdir/uptriptest.test uptexdir/upver.test uptexdir/upkcat.test uptexdir/wcfname.test
# uppPLtoTF/upTFtoPL
upweb_tests = uptexdir/upbibtex.test uptexdir/updvitype.test \
uptexdir/uppltotf.test uptexdir/uptftopl.test \
Expand Down
7 changes: 7 additions & 0 deletions source/texk/web2c/ptexdir/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2022-12-22 TANAKA Takuji <[email protected]>

* wcfname.test, am/ptex.am:
Add tests for file names with JIS X 0208 characters
in `ptex --kanji-internal={euc,sjis}`.
https://github.com/texjporg/tex-jp-build/issues/136

2022-12-22 Hironori Kitagawa <[email protected]>

* ptex-base.ch, ptex.defines, kanji.h, am/ptex.am:
Expand Down
2 changes: 1 addition & 1 deletion source/texk/web2c/ptexdir/am/ptex.am
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ EXTRA_DIST += \

# pTeX Tests
#
ptex_tests = ptexdir/ptriptest.test ptexdir/pver.test ptexdir/pfname.test
ptex_tests = ptexdir/ptriptest.test ptexdir/pver.test ptexdir/wcfname.test
ptexdir/ptriptest.log: ptex$(EXEEXT) dvitype$(EXEEXT) pltotf$(EXEEXT) tftopl$(EXEEXT)
ptexdir/pver.log: ptex$(EXEEXT)
#pweb_tests = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rm -f ptests/fn*.log ptests/fn*.txt ptests/fn*.tex
rc=0

TEXMFCNF=$srcdir/../kpathsea
TEXINPUTS=$srcdir/ptexdir/tests:.
TEXINPUTS=$srcdir/tests:.
export TEXMFCNF TEXINPUTS

# pTeX internal encoding
Expand All @@ -20,7 +20,7 @@ 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/ptexdir/tests/fn-utf8.txt || $rc=2
diff ptests/$doc-$ienc.txt $srcdir/tests/fn-utf8.txt || $rc=2

done
done
Expand All @@ -42,7 +42,7 @@ 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-$fenc-term.log || $rc=3
mv $doc-$ienc.txt $doc-$ienc.log $doc-tmp.tex ptests/
diff ptests/$doc-$ienc.txt $srcdir/ptexdir/tests/fn-$fenc.txt || $rc=4
diff ptests/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || $rc=4

done
done
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions source/texk/web2c/uptexdir/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2022-12-22 TANAKA Takuji <[email protected]>

* wcfname.test, am/ptex.am:
Add tests for file names with JIS X 0208 characters
in `uptex --kanji-internal={euc,sjis}`.
https://github.com/texjporg/tex-jp-build/issues/136

2022-12-22 Hironori Kitagawa <[email protected]>

* uptex.defines, kanji.h, am/uptex.am:
Expand Down
2 changes: 1 addition & 1 deletion source/texk/web2c/uptexdir/am/uptex.am
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ EXTRA_DIST += \
uptexdir/ChangeLog

# upTeX Tests
uptex_tests = uptexdir/uptriptest.test uptexdir/upver.test uptexdir/upkcat.test uptexdir/pfname.test
uptex_tests = uptexdir/uptriptest.test uptexdir/upver.test uptexdir/upkcat.test uptexdir/wcfname.test
uptexdir/uptriptest.log: uptex$(EXEEXT) dvitype$(EXEEXT) pltotf$(EXEEXT) tftopl$(EXEEXT)
uptexdir/upver.log uptexdir/upkcat.log: uptex$(EXEEXT)
upweb_tests = \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rm -f uptests/fn*.log uptests/fn*.txt uptests/fn*.tex
rc=0

TEXMFCNF=$srcdir/../kpathsea
TEXINPUTS=$srcdir/ptexdir/tests:.
TEXINPUTS=$srcdir/tests:.
export TEXMFCNF TEXINPUTS

# upTeX internal encoding
Expand All @@ -31,7 +31,7 @@ for doc in fnさざ波-$fenc; do
echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc
./uptex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >uptests/$doc-$ienc-term.log || $rc=1
mv $doc-$ienc.txt $doc-$ienc.log $doc-tmp.tex uptests/
diff uptests/$doc-$ienc.txt $srcdir/ptexdir/tests/fn-utf8.txt || $rc=2
diff uptests/$doc-$ienc.txt $srcdir/tests/fn-utf8.txt || $rc=2

done
done
Expand Down Expand Up @@ -60,7 +60,7 @@ for doc in fnさざ波-$fenc; do
echo '>>> Document:'$doc ' File Encoding:'$fenc ' Internal Encoding:'$ienc
./uptex -ini -interaction nonstopmode -jobname=$doc-$ienc -kanji=$fenc --kanji-internal=$ienc --shell-escape $doc.tex >uptests/$doc-$fenc-term.log || $rc=3
mv $doc-$ienc.txt $doc-$ienc.log $doc-tmp.tex uptests/
diff uptests/$doc-$ienc.txt $srcdir/ptexdir/tests/fn-$fenc.txt || $rc=4
diff uptests/$doc-$ienc.txt $srcdir/tests/fn-$fenc.txt || $rc=4

done
done
Expand Down

0 comments on commit 5a947d8

Please sign in to comment.