summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-11 21:19:24 +0000
committerKarl Berry <karl@freefriends.org>2014-12-11 21:19:24 +0000
commitd3c71523d218025e9f651a4a83de8cdff48f2b73 (patch)
treec3c8f6fb4be10c38590e703cfdfc8786ec8c9afc
parentec5ae92378df86967a7e3707fc4d8cd1ab5b5234 (diff)
check explicitly for trip.fmt/trap.base not being created
git-svn-id: svn://tug.org/texlive/trunk@35787 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/ChangeLog6
-rwxr-xr-xBuild/source/texk/web2c/mftraptest4
-rwxr-xr-xBuild/source/texk/web2c/triptest4
3 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index 0da461a433e..560dbdea7fc 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,9 @@
+2014-12-11 Karl Berry <karl@tug.org>
+
+ * triptest,
+ * mftraptest: complain early if trip.fmt/trap.base are not created.
+ Original report from vvv, tlbuild 14 Jun 2011 10:25:47.
+
2014-11-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* cpascal.h (makebinaryfile): Avoid gcc -Wunused-value warning.
diff --git a/Build/source/texk/web2c/mftraptest b/Build/source/texk/web2c/mftraptest
index 3f7eabfd6e5..71fefa76939 100755
--- a/Build/source/texk/web2c/mftraptest
+++ b/Build/source/texk/web2c/mftraptest
@@ -49,6 +49,10 @@ set -x
$LN_S $testdir/trap.mf .
../mf --progname=inimf <$testdir/mftrap1.in >mftrapin.fot
+if test ! -s trap.base; then
+ echo "*** trap.base not created by mftrap1.in, investigate!" >&2
+ exit 1
+fi
mv trap.log mftrapin.log || exit 1
diff $testdir/mftrapin.log mftrapin.log
diff --git a/Build/source/texk/web2c/triptest b/Build/source/texk/web2c/triptest
index a522fe75ed3..f3f6f131a75 100755
--- a/Build/source/texk/web2c/triptest
+++ b/Build/source/texk/web2c/triptest
@@ -65,6 +65,10 @@ diff $testdir/trip.pl trip.pl || is_OK=false
$LN_S $testdir/trip.tex .
../tex --progname=initex --ini <$testdir/trip1.in >tripin.fot
+if test ! -s trip.fmt; then
+ echo "*** trip.fmt not created by trip1.in, investigate!" >&2
+ exit 1
+fi
mv trip.log tripin.log || exit 1
diff $testdir/tripin.log tripin.log