summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ptexdir/sample.test
blob: 473147fc01383eb1c4fd62db76d07ed1b86f1e6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

# Copyright (C) 2010-2013 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

test -d ptests || mkdir -p ptests

tfmpath=`$KPSEWHICH cmbx10.tfm` || exit 77

tfmparent=`dirname "$tfmpath"`
tfmgrandparent=`dirname "$tfmparent"`

# Test inputs
testdir=$srcdir/ptexdir/tests

TEXMFCNF=$srcdir/../kpathsea \
  TFMFONTS=$testdir:`dirname "$tfmgrandparent"`// \
  ./pdvitype -show-opcodes $testdir/sample >ptests/xsample.typ || exit 1