#! /bin/sh -vx # $Id$ # Copyright 2017 Karl Berry # Copyright 2014 Peter Breitenlohner # You may freely use, modify and/or distribute this file. tests=omegaware/tests TEXMFCNF=$srcdir/../kpathsea OFMFONTS=".;./$tests" export TEXMFCNF OFMFONTS test -d $tests || mkdir -p $tests echo 'opl2ofm -verbose vrepeat0 yrepeat0' ./wopl2ofm -verbose $srcdir/$tests/vrepeat0 $tests/yrepeat0 && \ cmp $srcdir/$tests/vrepeat0.ofm $tests/yrepeat0.ofm && echo || exit 1 echo 'ofm2opl -verbose yrepeat0 yrepeat0' ./wofm2opl -verbose $tests/yrepeat0 $tests/yrepeat0 && \ diff -u $srcdir/$tests/vrepeat0.opl $tests/yrepeat0.opl && echo || exit 1 echo 'ovp2ovf -verbose vrepeat1 yrepeat1' ./wovp2ovf -verbose $srcdir/$tests/vrepeat1 $tests/yrepeat1 && \ cmp $srcdir/$tests/vrepeat1.ovf $tests/yrepeat1.ovf && \ cmp $srcdir/$tests/vrepeat1.ofm $tests/yrepeat1.ofm && echo || exit 1 echo 'ovf2ovp -verbose yrepeat1 yrepeat1 yrepeat1' ./wovf2ovp -verbose $tests/yrepeat1 yrepeat1 $tests/yrepeat1 diff -u $srcdir/$tests/vrepeat1.ovp $tests/yrepeat1.ovp && echo || exit 1 echo 'ofm2opl -verbose yrepeat1 yrepeat1' ./wofm2opl -verbose $tests/yrepeat1 $tests/yrepeat1 && \ diff -u $srcdir/$tests/vrepeat1.opl $tests/yrepeat1.opl && echo || exit 1 echo 'opl2ofm -verbose vrepeat1 yrepeat2' ./wopl2ofm -verbose $srcdir/$tests/vrepeat1 $tests/yrepeat2 && \ cmp $srcdir/$tests/vrepeat1.ofm $tests/yrepeat2.ofm && echo || exit 1 echo 'ofm2opl -verbose yrepeat2 yrepeat2' ./wofm2opl -verbose $tests/yrepeat2 $tests/yrepeat2 && \ diff -u $srcdir/$tests/vrepeat1.opl $tests/yrepeat2.opl && echo || exit 1 exit 0