#! /bin/sh -vx # $Id$ # Copyright 2017 Karl Berry # Copyright 2009-2014 Peter Breitenlohner # You may freely use, modify and/or distribute this file. BinDir=${BinDir:-.} ExeExt=${ExeExt:-} _pltotf=$BinDir/pltotf$ExeExt _tftopl=$BinDir/tftopl$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 rc=0 $_pltotf $srcdir/$tests/Cherokee $tests/Cherokee || rc=1 TEXMFCNF=$srcdir/../kpathsea \ $_tftopl $tests/Cherokee $tests/xCherokee || rc=2 diff $srcdir/$tests/Cherokee.pl $tests/xCherokee.pl || rc=3 TEXMFCNF=$srcdir/../kpathsea \ OFMFONTS=./$tests \ $_wovp2ovf -verbose $srcdir/$tests/OCherokee $tests/OCherokee $tests/OCherokee || rc=4 TEXMFCNF=$srcdir/../kpathsea \ $_wofm2opl -verbose $tests/OCherokee $tests/OCherokee || rc=5 $_wopl2ofm -verbose $tests/OCherokee $tests/xOCherokee || rc=6 TEXMFCNF=$srcdir/../kpathsea \ $_wofm2opl -verbose $tests/xOCherokee $tests/xOCherokee || rc=7 diff $tests/OCherokee.opl $tests/xOCherokee.opl || rc=8 TEXMFCNF=$srcdir/../kpathsea \ OFMFONTS=".;./$tests" \ $_wovf2ovp -verbose $tests/OCherokee $tests/OCherokee $tests/xOCherokee || rc=9 diff $srcdir/$tests/OCherokee.ovp $tests/xOCherokee.ovp || rc=10 exit $rc