diff options
Diffstat (limited to 'Build/source/texk/web2c/etexdir/etriptest')
-rwxr-xr-x | Build/source/texk/web2c/etexdir/etriptest | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/etexdir/etriptest b/Build/source/texk/web2c/etexdir/etriptest index 4266de6ab46..5f568ff1964 100755 --- a/Build/source/texk/web2c/etexdir/etriptest +++ b/Build/source/texk/web2c/etexdir/etriptest @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org> +# Copyright (C) 2009-2014 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. testdir=$abs_srcdir/triptrap @@ -33,6 +33,10 @@ diff $testdir/trip.pl trip.pl || is_OK=false $LN_S $testdir/trip.tex . ../etex --progname=einitex --ini <$testdir/trip1.in >ctripin.fot +if test ! -s trip.fmt; then + echo "*** trip.fmt not created by trip1.in, investigate!" >&2 + exit 1 +fi mv trip.log ctripin.log || exit 1 diff $testdir/tripin.log ctripin.log @@ -48,11 +52,17 @@ $DIFF $DIFFFLAGS $testdir/trip.log ctrip.log eval ../dvitype $dvitype_args trip.dvi >ctrip.typ || exit 1 $DIFF $DIFFFLAGS $testdir/trip.typ ctrip.typ +mv trip.fmt ctrip.fmt + # ============================== echo "*** TRIP test for e-TeX in extended mode ***." ../etex --progname=einitex --ini <$etestdir/etrip1.in >xtripin.fot +if test ! -s trip.fmt; then + echo "*** trip.fmt not created by etrip1.in, investigate!" >&2 + exit 1 +fi mv trip.log xtripin.log || exit 1 diff ctripin.log xtripin.log @@ -68,6 +78,8 @@ $DIFF $DIFFFLAGS ctrip.log xtrip.log eval ../dvitype $dvitype_args trip.dvi >xtrip.typ || exit 1 $DIFF $DIFFFLAGS ctrip.typ xtrip.typ +mv trip.fmt xtrip.fmt + # ============================== echo "*** e-TeX specific part of e-TRIP test ***." @@ -82,6 +94,10 @@ diff $etestdir/etrip.pl etrip.pl || is_OK=false $LN_S $etestdir/etrip.tex . ../etex --progname=einitex --ini <$etestdir/etrip2.in >etripin.fot +if test ! -s etrip.fmt; then + echo "*** etrip.fmt not created by etrip2.in, investigate!" >&2 + exit 1 +fi mv etrip.log etripin.log || exit 1 diff $etestdir/etripin.log etripin.log |