#! /bin/sh # Copyright (C) 2009 Peter Breitenlohner # You may freely use, modify and/or distribute this file. tests=omegaware/tests test -d $tests || mkdir -p $tests VPL='ofontr1 ofontv4' OVP='ofontr2 ofontr3 ofontv5 ofontv6' for f in $VPL; do ./opl2ofm -verbose $srcdir/$tests/$f.pl $tests/x$f.tfm || exit 1 TEXMFCNF=$srcdir/../kpathsea \ ./ofm2opl -verbose $tests/x$f.tfm $tests/x$f.pl || exit 1 diff $srcdir/$tests/$f.pl $tests/x$f.pl || exit 1 done for f in $OVP; do ./opl2ofm -verbose $srcdir/$tests/$f $tests/x$f || exit 1 TEXMFCNF=$srcdir/../kpathsea \ ./ofm2opl -verbose $tests/x$f $tests/x$f || exit 1 diff $srcdir/$tests/$f.opl $tests/x$f.opl || exit 1 done rm -rf $tests/xofont* for f in ofontr0; do ./opl2ofm -verbose $srcdir/$tests/$f.pl $tests/x$f.tfm || exit 1 TEXMFCNF=$srcdir/../kpathsea \ ./ofm2opl -verbose $tests/x$f.tfm $tests/x$f.pl || exit 1 diff $srcdir/$tests/$f.pl $tests/x$f.pl || exit 1 done for f in $VPL; do ./ovp2ovf -verbose $srcdir/$tests/$f.vpl $tests/x$f.vf $tests/x$f.tfm || exit 1 TEXMFCNF=$srcdir/../kpathsea \ ./ofm2opl -verbose $tests/x$f.tfm $tests/x$f.pl || exit 1 diff $srcdir/$tests/$f.pl $tests/x$f.pl || exit 1 TEXMFCNF=$srcdir/../kpathsea \ OFMFONTS=.:$srcdir/$tests \ ./ovf2ovp -verbose $tests/x$f.vf $tests/x$f.tfm $tests/x$f.vpl || exit 1 diff $srcdir/$tests/$f.vpl $tests/x$f.vpl || exit 1 done for f in $OVP; do ./ovp2ovf -verbose $srcdir/$tests/$f $tests/x$f $tests/x$f || exit 1 TEXMFCNF=$srcdir/../kpathsea \ ./ofm2opl -verbose $tests/x$f $tests/x$f || exit 1 diff $srcdir/$tests/$f.opl $tests/x$f.opl || exit 1 TEXMFCNF=$srcdir/../kpathsea \ OFMFONTS=.:$srcdir/$tests \ ./ovf2ovp -verbose $tests/x$f $tests/x$f $tests/x$f || exit 1 diff $srcdir/$tests/$f.ovp $tests/x$f.ovp || exit 1 done exit 0