Skip to content

Commit

Permalink
ptex: Tweak tests
Browse files Browse the repository at this point in the history
  • Loading branch information
t-tk committed Feb 2, 2025
1 parent 6b1ea6e commit d85772d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions source/texk/web2c/ptexdir/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2025-02-02 TANAKA Takuji <[email protected]>

* ptex-prntknj.test, tests/pknj-{e,s}.log: Update tests.

2025-01-27 Karl Berry <[email protected]>

* am/ptex.am (ptex-pool.c): exit 1 if makecpool failed.
Expand Down
6 changes: 3 additions & 3 deletions source/texk/web2c/ptexdir/ptex-prntknj.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/sh -vx
# Copyright 2024 Japanese TeX Development Community <[email protected]>
# Copyright 2024-2025 Japanese TeX Development Community <[email protected]>
# You may freely use, modify and/or distribute this file.

BinDir=${BinDir:-.}
Expand Down Expand Up @@ -31,8 +31,8 @@ fi
$_ptex -fmt=p-basic-sjis -kanji-internal=sjis -jobname=p-pknj-s -interaction=batchmode printkanji || :
$_ptex -fmt=p-basic-euc -kanji-internal=euc -jobname=p-pknj-e -interaction=batchmode printkanji || :

sed "1d;s/characters out of 621947.$/characters out of 621947X/" p-pknj-s.log >p-pknj-s.out
sed "1d;s/characters out of 621947.$/characters out of 621947X/" p-pknj-e.log >p-pknj-e.out
sed "1d;s/strings out of 4979..$/strings out of 4979XX/;s/characters out of 62194..$/characters out of 62194XX/" p-pknj-s.log >p-pknj-s.out
sed "1d;s/strings out of 4979..$/strings out of 4979XX/;s/characters out of 62194..$/characters out of 62194XX/" p-pknj-e.log >p-pknj-e.out

diff $srcdir/ptexdir/tests/pknj-s.log p-pknj-s.out || exit 10
diff $srcdir/ptexdir/tests/pknj-e.log p-pknj-e.out || exit 11
Expand Down
4 changes: 2 additions & 2 deletions source/texk/web2c/ptexdir/tests/pknj-e.log
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ l.164 \expandafter\show\csname 顛\endcsname
Memory usage before: 1270&5512; after: 118&5077; still untouched: 4992459
)
Here is how much of TeX's memory you used:
25 strings out of 497935
137 string characters out of 621947X
25 strings out of 4979XX
137 string characters out of 62194XX
7541 words of memory out of 5000000
969 multiletter control sequences out of 15000+600000
3271 words of font info for 2 fonts, out of 8000000 for 9000
Expand Down
4 changes: 2 additions & 2 deletions source/texk/web2c/ptexdir/tests/pknj-s.log
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ l.164 \expandafter\show\csname 顛\endcsname
Memory usage before: 1274&5515; after: 118&5078; still untouched: 4992456
)
Here is how much of TeX's memory you used:
24 strings out of 497935
135 string characters out of 621947X
24 strings out of 4979XX
135 string characters out of 62194XX
7544 words of memory out of 5000000
968 multiletter control sequences out of 15000+600000
3271 words of font info for 2 fonts, out of 8000000 for 9000
Expand Down

0 comments on commit d85772d

Please sign in to comment.