summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-12-13 11:57:50 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-12-13 11:57:50 +0000
commit782cea2743858c7266306385e712c8cf84bb7f28 (patch)
tree6d58ab2f52c4235f94e00f7674f18610d3a8acb0 /Build/source/texk/web2c/ptexdir
parentfa222c61121af8972a7febd0e555c94c9a1d6391 (diff)
Check explicitly for trip.fmt/etrip.fmt not being created
git-svn-id: svn://tug.org/texlive/trunk@35812 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/ptexdir')
-rw-r--r--Build/source/texk/web2c/ptexdir/ChangeLog5
-rwxr-xr-xBuild/source/texk/web2c/ptexdir/ptriptest6
2 files changed, 10 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/ptexdir/ChangeLog b/Build/source/texk/web2c/ptexdir/ChangeLog
index 555d4f67982..0afc80cd4ac 100644
--- a/Build/source/texk/web2c/ptexdir/ChangeLog
+++ b/Build/source/texk/web2c/ptexdir/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-12 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * ptriptest: Complain early if trip.fmt is not created.
+ Inspired by report from vvv, tlbuild 14 Jun 2011 10:25:47.
+
2014-05-06 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
* ptex-base.ch: reset inhibit_glue_flag in several places
diff --git a/Build/source/texk/web2c/ptexdir/ptriptest b/Build/source/texk/web2c/ptexdir/ptriptest
index 4b00cd35a55..068731d34ed 100755
--- a/Build/source/texk/web2c/ptexdir/ptriptest
+++ b/Build/source/texk/web2c/ptexdir/ptriptest
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2010-2013 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2010-2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
testdir=$abs_srcdir/triptrap
@@ -38,6 +38,10 @@ $LN_S $testdir/trip.tex .
rm -f trip.log
../ptex --progname=pinitex --ini <$testdir/trip1.in >ptripin.fot
+if test ! -s trip.fmt; then
+ echo "*** trip.fmt not created by trip1.in, investigate!" >&2
+ exit 1
+fi
sed "$P_SED1" trip.log > ptripin.log || exit 1
diff $testdir/tripin.log ptripin.log