Debian Codegraph @

texk/web2c/omegaware/shorten.test

raw
1 #! /bin/sh -vx
2 # $Id: shorten.test 67907 2023-08-13 13:50:50Z takuji $
3 # Copyright 2017 Karl Berry <[email protected]>
4 # Copyright 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 _odvitype=$BinDir/odvitype$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
20 TEXMFCNF=$srcdir/../kpathsea
21 export TEXMFCNF
22
23 echo && echo "pltotf $tests/shorten.opl $tests/shortend.tfm" && \
24 $_pltotf $srcdir/$tests/shorten.opl $tests/shortend.tfm || exit
25
26 echo && echo "wofm2opl $tests/shorten.tfm $tests/shortend.pl" && \
27 $_wofm2opl $tests/shortend.tfm $tests/shortend.pl || exit
28
29 echo && echo "wopl2ofm $tests/shorten $tests/shortend" && \
30 $_wopl2ofm $srcdir/$tests/shorten $tests/shortend || exit
31
32 echo && echo "wofm2opl $tests/shorten $tests/shortend" && \
33 $_wofm2opl $tests/shortend $tests/shortend || exit
34
35 diff $tests/shortend.pl $tests/shortend.opl || exit
36