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

BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_pktogf=$BinDir/pktogf$ExeExt

test -d tests || mkdir -p tests

TEXMFCNF=$srcdir/../kpathsea \
  $_pktogf -verbose $srcdir/tests/cmr10.pk tests/xcmr10.600gf || exit 1

TEXMFCNF=$srcdir/../kpathsea \
  $_pktogf $srcdir/tests/cmr10.pk && rm cmr10.gf || exit 2