summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mplibdir/dvitomp.test
blob: 41ccb942bd55e6750f7f8b6059d6b5b85701e9e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh -vx
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2009-2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

test -d tests || mkdir -p tests

if tfmpath=`$KPSEWHICH cmbx10.tfm`; then

  TEXMFCNF=$srcdir/../kpathsea \
    TFMFONTS=`dirname "$tfmpath"` \
    ./mpost --dvitomp $srcdir/tests/story.dvi tests/xstory.mpx || exit 1

fi

TEXMFCNF=$srcdir/../kpathsea \
  TFMFONTS=$srcdir/tests \
  VFFONTS=$srcdir/tests: \
  ./mpost --dvitomp $srcdir/tests/ptmr ptmr.mpx && \
  mv ptmr.mpx tests/xptmr.mpx || exit 1