From ad547a6b5986815fda458221149728d9d9ab1d87 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Feb 2021 19:22:25 +0000 Subject: restore Build,TODO from r57911 git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/pmpostdir/pmpsamp.test | 42 ++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 Build/source/texk/web2c/pmpostdir/pmpsamp.test (limited to 'Build/source/texk/web2c/pmpostdir/pmpsamp.test') diff --git a/Build/source/texk/web2c/pmpostdir/pmpsamp.test b/Build/source/texk/web2c/pmpostdir/pmpsamp.test new file mode 100755 index 00000000000..19586a0a39d --- /dev/null +++ b/Build/source/texk/web2c/pmpostdir/pmpsamp.test @@ -0,0 +1,42 @@ +#! /bin/sh -vx +# $Id$ +# Copyright 2017-2018 Karl Berry +# Copyright 2014 Peter Breitenlohner +# You may freely use, modify and/or distribute this file. + +LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE + +tests=pmpostdir/tests + +test -d $tests || mkdir -p $tests + +TEXMFCNF=$srcdir/../kpathsea + +tfmpath=`$KPSEWHICH cmr10.tfm` || exit 77 +TFMFONTS="$srcdir/$tests;`echo $tfmpath | sed 's,/fonts/tfm/.*$,/fonts/tfm//,'`" + +mppath=`$KPSEWHICH plain.mp` || exit 77 +MPINPUTS=".;`dirname $mppath`" + +mappath=`$KPSEWHICH psfonts.map` || exit 77 +TEXFONTMAPS=`echo $mappath | sed 's,/fonts/map/.*$,/fonts/map//,'` + +t1path=`$KPSEWHICH cmmi10.pfb` || exit 77 +T1FONTS="$srcdir/$tests;`echo $t1path | sed 's,/fonts/type1/.*$,/fonts/type1//,'`" + +vfpath=`$KPSEWHICH min10.vf` || exit 77 +VFFONTS="$srcdir/$tests;`dirname $vfpath`" + +export TEXMFCNF TFMFONTS MPINPUTS TEXFONTMAPS T1FONTS VFFONTS + +# check that we have eptex at all. +eptex -version >/dev/null 2>&1 || exit 77 + +# ensure that eptex.fmt exists and can be read. +eptex \\end >/dev/null 2>&1 || exit 77 + +echo 'input plain;' >pmpsamp.mp +cat "$srcdir/$tests/psample.mp" >>pmpsamp.mp + +./pmpost -ini -kanji=utf8 -tex=eptex pmpsamp || exit 1 + -- cgit v1.2.3