Debian Codegraph @

texk/web2c/omegaware/specialhex.test

raw
1 #! /bin/sh -vx
2 # $Id: specialhex.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 _wofm2opl=$BinDir/wofm2opl$ExeExt
10 _wopl2ofm=$BinDir/wopl2ofm$ExeExt
11 _wovf2ovp=$BinDir/wovf2ovp$ExeExt
12 _wovp2ovf=$BinDir/wovp2ovf$ExeExt
13
14 tests=omegaware/tests
15
16 test -d $tests || mkdir -p $tests
17 rc=0
18
19 TEXMFCNF=$srcdir/../kpathsea \
20 OFMFONTS=./$tests \
21 $_wovp2ovf -verbose $srcdir/$tests/specialhex $tests/specialhex $tests/specialhex || rc=1
22
23 TEXMFCNF=$srcdir/../kpathsea \
24 $_wofm2opl -verbose $tests/specialhex $tests/specialhex || rc=2
25
26 $_wopl2ofm -verbose $tests/specialhex $tests/xspecialhex || rc=3
27
28 TEXMFCNF=$srcdir/../kpathsea \
29 $_wofm2opl -verbose $tests/xspecialhex $tests/xspecialhex || rc=4
30
31 diff $tests/specialhex.opl $tests/xspecialhex.opl || rc=5
32
33 TEXMFCNF=$srcdir/../kpathsea \
34 OFMFONTS=".;./$tests" \
35 $_wovf2ovp -verbose $tests/specialhex $tests/specialhex $tests/xspecialhex || rc=6
36
37 diff $srcdir/$tests/specialhex.ovp $tests/xspecialhex.ovp || rc=7
38
39 exit $rc