texlive[48429] Build/source/texk/web2c: uptexdir: more strict test

commits+hironobu at tug.org commits+hironobu at tug.org
Sat Aug 18 13:26:15 CEST 2018


Revision: 48429
          http://tug.org/svn/texlive?view=revision&revision=48429
Author:   hironobu
Date:     2018-08-18 13:26:15 +0200 (Sat, 18 Aug 2018)
Log Message:
-----------
uptexdir: more strict test

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/Makefile.in
    trunk/Build/source/texk/web2c/uptexdir/ChangeLog
    trunk/Build/source/texk/web2c/uptexdir/am/uptex.am
    trunk/Build/source/texk/web2c/uptexdir/gkhuge.test

Added Paths:
-----------
    trunk/Build/source/texk/web2c/uptexdir/tests/gkhugeng.err

Modified: trunk/Build/source/texk/web2c/Makefile.in
===================================================================
--- trunk/Build/source/texk/web2c/Makefile.in	2018-08-18 10:56:05 UTC (rev 48428)
+++ trunk/Build/source/texk/web2c/Makefile.in	2018-08-18 11:26:15 UTC (rev 48429)
@@ -3070,10 +3070,11 @@
 	uptexdir/tests/testnewu.pl uptexdir/tests/testnewu.tfm \
 	uptexdir/tests/uparse.pl uptexdir/tests/uparse.tfm \
 	uptexdir/tests/gkhugeok.tfm uptexdir/tests/gkhugeng.tfm \
-	uptexdir/uptrip/uptrip.diffs uptexdir/uptrip/texmf.cnf \
-	$(euptex_web_srcs) $(euptex_ch_srcs) euptexdir/euptex.defines \
-	euptexdir/COPYRIGHT euptexdir/COPYRIGHT.jis \
-	euptexdir/ChangeLog euptexdir/EUPTEX.txt $(euptex_tests) \
+	uptexdir/tests/gkhugeng.err uptexdir/uptrip/uptrip.diffs \
+	uptexdir/uptrip/texmf.cnf $(euptex_web_srcs) $(euptex_ch_srcs) \
+	euptexdir/euptex.defines euptexdir/COPYRIGHT \
+	euptexdir/COPYRIGHT.jis euptexdir/ChangeLog \
+	euptexdir/EUPTEX.txt $(euptex_tests) \
 	eptexdir/eptrip/eptrip.log eptexdir/eptrip/eptrip.tex \
 	euptexdir/euptrip/euptrip.diffs euptexdir/euptrip/texmf.cnf \
 	euptexdir/pdfprimitive.test \

Modified: trunk/Build/source/texk/web2c/uptexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/ChangeLog	2018-08-18 10:56:05 UTC (rev 48428)
+++ trunk/Build/source/texk/web2c/uptexdir/ChangeLog	2018-08-18 11:26:15 UTC (rev 48429)
@@ -1,3 +1,9 @@
+2018-08-18  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
+
+	* gkhuge.test: More strict test.
+	* tests/gkhugeng.err: Added.
+	* am/uptex.am: Adjust.
+
 2018-06-14  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	* ksnji.h, kanji.c, uptex.defines:

Modified: trunk/Build/source/texk/web2c/uptexdir/am/uptex.am
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/am/uptex.am	2018-08-18 10:56:05 UTC (rev 48428)
+++ trunk/Build/source/texk/web2c/uptexdir/am/uptex.am	2018-08-18 11:26:15 UTC (rev 48429)
@@ -211,7 +211,7 @@
 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

Modified: trunk/Build/source/texk/web2c/uptexdir/gkhuge.test
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/gkhuge.test	2018-08-18 10:56:05 UTC (rev 48428)
+++ trunk/Build/source/texk/web2c/uptexdir/gkhuge.test	2018-08-18 11:26:15 UTC (rev 48429)
@@ -29,8 +29,9 @@
   # 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
 

Added: trunk/Build/source/texk/web2c/uptexdir/tests/gkhugeng.err
===================================================================
--- trunk/Build/source/texk/web2c/uptexdir/tests/gkhugeng.err	                        (rev 0)
+++ trunk/Build/source/texk/web2c/uptexdir/tests/gkhugeng.err	2018-08-18 11:26:15 UTC (rev 48429)
@@ -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?


Property changes on: trunk/Build/source/texk/web2c/uptexdir/tests/gkhugeng.err
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


More information about the tex-live-commits mailing list