summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/selectfont.test
blob: 8c8f4864dc8a05082287879bbc953775ebaad334 (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
27
28
29
30
31
32
#! /bin/sh -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2011-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

./omfonts -opl2ofm -verbose $srcdir/tests/sample0-h tests/sample0-h || exit 1

./omfonts -opl2ofm -verbose $srcdir/tests/sample0-h tests/sample1-h || exit 1

./omfonts -ofm2opl -verbose sample1-h tests/sample1-h || exit 1

diff $srcdir/tests/sample0-h.opl tests/sample1-h.opl || exit 1

./omfonts -ovp2ovf -verbose $srcdir/tests/sample tests/sample tests/sample || exit 1

./omfonts -ovf2ovp -verbose tests/sample sample tests/xsample.out || exit 1

diff $srcdir/tests/sample.out tests/xsample.out || exit 1

./omfonts -ovp2ovf -verbose $srcdir/tests/sample.ovp tests/sample2.ovf || exit 1

./omfonts -ovf2ovp -verbose tests/sample2 sample2 >tests/xsample2.out || exit 1

diff $srcdir/tests/sample.out tests/xsample2.out || exit 1