#! /bin/sh -vx # $Id$ # Copyright 2017 Karl Berry # Copyright 2014, 2015 Peter Breitenlohner # You may freely use, modify and/or distribute this file. tests=omegaware/tests test -d $tests || mkdir -p $tests TEXMFCNF=$srcdir/../kpathsea OFMFONTS=".;./$tests" export TEXMFCNF OFMFONTS echo && echo "*** ofm2opl check xcheck" ./wofm2opl $srcdir/$tests/check $tests/xcheck || exit 1 echo && echo "*** diff check.opl xcheck.opl" diff $srcdir/$tests/check.opl $tests/xcheck.opl || exit 1 echo && echo "*** opl2ofm xcheck xchecked" ./wopl2ofm $tests/xcheck $tests/xchecked || exit 1 echo && echo "*** ofm2opl xchecked stdout (xchecked.opl)" ./wofm2opl $tests/xchecked >$tests/xchecked.opl || exit 1 echo && echo "*** diff checked.opl xchecked.opl" diff $srcdir/$tests/checked.opl $tests/xchecked.opl || exit 1