diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-01-09 10:14:16 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-01-09 10:14:16 +0000 |
commit | e60da209370adc8a249ba298f9c4272509c756d4 (patch) | |
tree | 64d90cae3865fa793c83efc52789c794817ff34d /Build/source/texk/web2c/vptovf.test | |
parent | 6b58058e700ac61db7d20b1f06dcbe1b0d2c7db4 (diff) |
texk/web2c: Send diagnostic output from PLtoTF and VPtoVF to stderr
Non-zero return code in case of problems
git-svn-id: svn://tug.org/texlive/trunk@36005 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/vptovf.test')
-rwxr-xr-x | Build/source/texk/web2c/vptovf.test | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/vptovf.test b/Build/source/texk/web2c/vptovf.test index 922a62b8cd8..3f54fb0b45f 100755 --- a/Build/source/texk/web2c/vptovf.test +++ b/Build/source/texk/web2c/vptovf.test @@ -1,19 +1,26 @@ #! /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. test -d tests || mkdir -p tests -TEXMFCNF=$srcdir/../kpathsea \ - ./vptovf $srcdir/tests/ptmr tests/yptmr tests/yptmr || exit 1 +./vptovf -help || exit 1 + +./vptovf -version || exit 1 + +TEXMFCNF=$srcdir/../kpathsea +export TEXMFCNF + +./vptovf -verbose $srcdir/tests/badvpl && exit 1 + +./vptovf -verbose $srcdir/tests/ptmr tests/yptmr tests/yptmr || exit 1 cmp $srcdir/tests/ptmr.vf tests/yptmr.vf || exit 1 cmp $srcdir/tests/ptmr.tfm tests/yptmr.tfm || exit 1 -TEXMFCNF=$srcdir/../kpathsea \ - ./vptovf $srcdir/tests/ptmr tests/yptmr2.vf || exit 1 +./vptovf -verbose $srcdir/tests/ptmr tests/yptmr2.vf || exit 1 cmp $srcdir/tests/ptmr.vf tests/yptmr2.vf || exit 1 |