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

test -d uptests || mkdir -p uptests

# Test inputs
testdir=$srcdir/uptexdir/tests

# Testing upPLtoTF/upTFtoPL for umin10 (yoko=horiz) and utmin10 (tate=vert).
for font in umin10 utmin10; do

  ./uppltotf -verbose $testdir/$font.pl uptests/x$font.tfm && \
    cmp $testdir/$font.tfm uptests/x$font.tfm && echo || exit 1

  TEXMFCNF=$srcdir/../kpathsea \
    ./uptftopl -charcode-format octal -verbose $testdir/$font.tfm uptests/x$font.pl && \
    diff $testdir/$font.pl uptests/x$font.pl && echo || exit 1

done