summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/shorten.test
blob: 80fe32c1e9bf3fb687fb67570f2df9f0ce455227 (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
35
36
#! /bin/sh -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2014 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_pltotf=$BinDir/pltotf$ExeExt
_odvitype=$BinDir/odvitype$ExeExt
_wofm2opl=$BinDir/wofm2opl$ExeExt
_wopl2ofm=$BinDir/wopl2ofm$ExeExt
_wovf2ovp=$BinDir/wovf2ovp$ExeExt
_wovp2ovf=$BinDir/wovp2ovf$ExeExt

tests=omegaware/tests

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

TEXMFCNF=$srcdir/../kpathsea
export TEXMFCNF

echo && echo "pltotf $tests/shorten.opl $tests/shortend.tfm" && \
  $_pltotf $srcdir/$tests/shorten.opl $tests/shortend.tfm || exit

echo && echo "wofm2opl $tests/shorten.tfm $tests/shortend.pl" && \
  $_wofm2opl $tests/shortend.tfm $tests/shortend.pl || exit

echo && echo "wopl2ofm $tests/shorten $tests/shortend" && \
  $_wopl2ofm $srcdir/$tests/shorten $tests/shortend || exit

echo && echo "wofm2opl $tests/shorten $tests/shortend" && \
  $_wofm2opl $tests/shortend $tests/shortend || exit

diff $tests/shortend.pl $tests/shortend.opl || exit