From d3c71523d218025e9f651a4a83de8cdff48f2b73 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 11 Dec 2014 21:19:24 +0000 Subject: check explicitly for trip.fmt/trap.base not being created git-svn-id: svn://tug.org/texlive/trunk@35787 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/ChangeLog | 6 ++++++ Build/source/texk/web2c/mftraptest | 4 ++++ Build/source/texk/web2c/triptest | 4 ++++ 3 files changed, 14 insertions(+) (limited to 'Build/source') 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 + + * 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 * 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 -- cgit v1.2.3