summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/selectfont.test
blob: 6147e21ec7f009f510cd0a8d1748cb28095bdd8a (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
33
34
#! /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.

tests=omegaware/tests

test -d $tests || mkdir -p $tests

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

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

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

./wofm2opl -verbose sample1-h $tests/sample1-h || exit 1

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

./wovp2ovf -verbose $srcdir/$tests/sample $tests/sample $tests/sample || exit 1

./wovf2ovp -verbose $tests/sample sample $tests/xsample.out  || exit 1

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

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

./wovf2ovp -verbose $tests/sample2 sample2 >$tests/xsample2.out || exit 1

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