summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/check.test
blob: 6ca13f7d1c9cfa9431ae30c117a30245c1b8f924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#! /bin/sh

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

test -d tests || mkdir -p tests

TEXMFCNF=$srcdir/../../kpathsea
OFMFONTS=".;./tests"
export TEXMFCNF OFMFONTS

echo && echo "*** ofm2opl check xcheck"
./omfonts -ofm2opl $srcdir/tests/check tests/xcheck || exit 1

echo && echo "*** diff check.opl xcheck.opl"
diff $srcdir/tests/check.opl tests/xcheck.opl || exit 1

echo && echo "*** opl2ofm xcheck xchecked"
./omfonts -opl2ofm tests/xcheck tests/xchecked || exit 1

echo && echo "*** ofm2opl xchecked stdout (xchecked.opl)"
./omfonts -ofm2opl tests/xchecked >tests/xchecked.opl || exit 1

echo && echo "*** diff checked.opl xchecked.opl"
diff $srcdir/tests/checked.opl tests/xchecked.opl || exit 1