summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/uptexdir
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2018-08-18 11:26:15 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2018-08-18 11:26:15 +0000
commit2461a950df66fc5499fd4f6ee006761ac9373cf3 (patch)
tree27ebdfe6dd5a2b53cbc1529e7d5489e1c12a3819 /Build/source/texk/web2c/uptexdir
parent394bc1716a78b883197662411d86c3c5185e6a78 (diff)
uptexdir: more strict test
git-svn-id: svn://tug.org/texlive/trunk@48429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/uptexdir')
-rw-r--r--Build/source/texk/web2c/uptexdir/ChangeLog6
-rw-r--r--Build/source/texk/web2c/uptexdir/am/uptex.am2
-rwxr-xr-xBuild/source/texk/web2c/uptexdir/gkhuge.test5
-rw-r--r--Build/source/texk/web2c/uptexdir/tests/gkhugeng.err3
4 files changed, 13 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/uptexdir/ChangeLog b/Build/source/texk/web2c/uptexdir/ChangeLog
index 339264961d2..dfdb796a76d 100644
--- a/Build/source/texk/web2c/uptexdir/ChangeLog
+++ b/Build/source/texk/web2c/uptexdir/ChangeLog
@@ -1,3 +1,9 @@
+2018-08-18 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ * gkhuge.test: More strict test.
+ * tests/gkhugeng.err: Added.
+ * am/uptex.am: Adjust.
+
2018-06-14 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* ksnji.h, kanji.c, uptex.defines:
diff --git a/Build/source/texk/web2c/uptexdir/am/uptex.am b/Build/source/texk/web2c/uptexdir/am/uptex.am
index 9c8c60de5d7..894a89b2ca6 100644
--- a/Build/source/texk/web2c/uptexdir/am/uptex.am
+++ b/Build/source/texk/web2c/uptexdir/am/uptex.am
@@ -211,7 +211,7 @@ DISTCLEANFILES += uptests/xtestnewu.*
EXTRA_DIST += uptexdir/tests/uparse.pl uptexdir/tests/uparse.tfm
DISTCLEANFILES += uptests/*uparse.*
## uptexdir/gkhuge.test
-EXTRA_DIST += uptexdir/tests/gkhugeok.tfm uptexdir/tests/gkhugeng.tfm
+EXTRA_DIST += uptexdir/tests/gkhugeok.tfm uptexdir/tests/gkhugeng.tfm uptexdir/tests/gkhugeng.err
DISTCLEANFILES += uptests/*gkhuge*.*
## uptexdir/uptriptest
EXTRA_DIST += uptexdir/uptrip/uptrip.diffs uptexdir/uptrip/texmf.cnf
diff --git a/Build/source/texk/web2c/uptexdir/gkhuge.test b/Build/source/texk/web2c/uptexdir/gkhuge.test
index 11c4758157b..e3746d1f3fc 100755
--- a/Build/source/texk/web2c/uptexdir/gkhuge.test
+++ b/Build/source/texk/web2c/uptexdir/gkhuge.test
@@ -29,8 +29,9 @@ for font in gkhugeng; do
# The invalid gkhugeng.tfm was erroneously created before
# web2c/pltotf.ch change 2017-09-10, due to overflow
TEXMFCNF=$srcdir/../kpathsea \
- ./uptftopl -verbose $testdir/$font.tfm uptests/y$font.pl \
- && exit 1 || echo
+ ./uptftopl $testdir/$font.tfm uptests/y$font.pl \
+ 2>uptests/y$font.err && exit 1 || echo
+ cmp $testdir/$font.err uptests/y$font.err && echo || exit 1
done
diff --git a/Build/source/texk/web2c/uptexdir/tests/gkhugeng.err b/Build/source/texk/web2c/uptexdir/tests/gkhugeng.err
new file mode 100644
index 00000000000..484f95d3bad
--- /dev/null
+++ b/Build/source/texk/web2c/uptexdir/tests/gkhugeng.err
@@ -0,0 +1,3 @@
+Input file is in YOKO-kumi kanji tfm format.
+The fifth byte of the input file exceeds 127!
+Sorry, but I can't go on; are you sure this is a TFM?