1#! /bin/sh
2
3# Copyright (C) 2010-2013 Peter Breitenlohner <tex-live@tug.org>
4# You may freely use, modify and/or distribute this file.
5
6test -d ptests || mkdir -p ptests
7
8# Test inputs
9testdir=$srcdir/ptexdir/tests
10
11# Testing pPLtoTF/pTFtoPL for min10 (yoko=horiz) and tmin10 (tate=vert).
12for font in min10 tmin10; do
13
14  ./ppltotf -verbose $testdir/$font.pl ptests/x$font.tfm && \
15    cmp $testdir/$font.tfm ptests/x$font.tfm && echo || exit 1
16
17  TEXMFCNF=$srcdir/../kpathsea \
18    ./ptftopl -charcode-format octal -verbose $testdir/$font.tfm ptests/x$font.pl && \
19    diff $testdir/$font.pl ptests/x$font.pl && echo || exit 1
20
21done
22
23