Debian Codegraph @

texk/web2c/omegaware/omfonts.test

raw
1 #! /bin/sh -vx
2 # $Id: omfonts.test 67907 2023-08-13 13:50:50Z takuji $
3 # Copyright 2017 Karl Berry <[email protected]>
4 # Copyright 2009-2014 Peter Breitenlohner <[email protected]>
5 # You may freely use, modify and/or distribute this file.
6
7 BinDir=${BinDir:-.}
8 ExeExt=${ExeExt:-}
9 _pltotf=$BinDir/pltotf$ExeExt
10 _tftopl=$BinDir/tftopl$ExeExt
11 _wofm2opl=$BinDir/wofm2opl$ExeExt
12 _wopl2ofm=$BinDir/wopl2ofm$ExeExt
13 _wovf2ovp=$BinDir/wovf2ovp$ExeExt
14 _wovp2ovf=$BinDir/wovp2ovf$ExeExt
15
16 tests=omegaware/tests
17
18 test -d $tests || mkdir -p $tests
19 rc=0
20
21 $_pltotf $srcdir/$tests/Cherokee $tests/Cherokee || rc=1
22
23 TEXMFCNF=$srcdir/../kpathsea \
24 $_tftopl $tests/Cherokee $tests/xCherokee || rc=2
25
26 diff $srcdir/$tests/Cherokee.pl $tests/xCherokee.pl || rc=3
27
28 TEXMFCNF=$srcdir/../kpathsea \
29 OFMFONTS=./$tests \
30 $_wovp2ovf -verbose $srcdir/$tests/OCherokee $tests/OCherokee $tests/OCherokee || rc=4
31
32 TEXMFCNF=$srcdir/../kpathsea \
33 $_wofm2opl -verbose $tests/OCherokee $tests/OCherokee || rc=5
34
35 $_wopl2ofm -verbose $tests/OCherokee $tests/xOCherokee || rc=6
36
37 TEXMFCNF=$srcdir/../kpathsea \
38 $_wofm2opl -verbose $tests/xOCherokee $tests/xOCherokee || rc=7
39
40 diff $tests/OCherokee.opl $tests/xOCherokee.opl || rc=8
41
42 TEXMFCNF=$srcdir/../kpathsea \
43 OFMFONTS=".;./$tests" \
44 $_wovf2ovp -verbose $tests/OCherokee $tests/OCherokee $tests/xOCherokee || rc=9
45
46 diff $srcdir/$tests/OCherokee.ovp $tests/xOCherokee.ovp || rc=10
47
48 exit $rc