#! /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 test -d $tests || mkdir -p $tests TEXMFCNF=$srcdir/../kpathsea OFMFONTS=".;./$tests" export TEXMFCNF OFMFONTS echo && echo "*** pltotf arabicr yarabicr" ./pltotf $srcdir/$tests/arabicr $tests/yarabicr || exit 1 echo && echo "*** opl2ofm arabicr.pl zyarabicr" ./wopl2ofm $srcdir/$tests/arabicr.pl $tests/zyarabicr || exit 1 echo && echo "*** cmp yarabicr.tfm zyarabicr.ofm" cmp $tests/yarabicr.tfm $tests/zyarabicr.ofm || exit 1 echo && echo "*** ofm2opl yarabicr.tfm xyarabicr" ./wofm2opl $tests/yarabicr.tfm $tests/xyarabicr || exit 1 echo && echo "*** ofm2opl zyarabicr zyarabicr" ./wofm2opl $tests/zyarabicr $tests/zyarabicr || exit 1 echo && echo "*** diff xyarabicr.opl zyarabicr.opl" diff $tests/xyarabicr.opl $tests/zyarabicr.opl || exit 1 echo && echo "*** ovp2ovf arabic yarabic yarabic" ./wovp2ovf $srcdir/$tests/arabic $tests/yarabic $tests/yarabic || exit 1 echo && echo "*** ofm2opl yarabic xyarabic" ./wofm2opl $tests/yarabic $tests/xyarabic || exit 1 echo && echo "*** opl2ofm xyarabic xyarabic" ./wopl2ofm $tests/xyarabic $tests/xyarabic || exit 1 echo && echo "*** ofm2opl xyarabic yyarabic" ./wofm2opl $tests/xyarabic $tests/yyarabic || exit 1 echo && echo "*** diff xyarabicr.opl yyarabicr.opl" diff $tests/xyarabic.opl $tests/yyarabic.opl || exit 1 echo && echo "*** ovf2ovp yarabic yarabic yyarabic" ./wovf2ovp $tests/yarabic $tests/yarabic $tests/yyarabic || exit 1 echo && echo "*** ovp2ovf yyarabic yyarabic yyarabic" ./wovp2ovf $tests/yyarabic $tests/yyarabic $tests/yyarabic || exit 1 echo && echo "*** ofm2opl yyarabic xyarabic" ./wofm2opl $tests/yyarabic $tests/zyarabic || exit 1 echo && echo "*** diff xyarabicr.opl zyarabicr.opl" diff $tests/xyarabic.opl $tests/zyarabic.opl || exit 1 echo && echo "*** ovf2ovp yyarabic yyarabic zyarabic" ./wovf2ovp $tests/yyarabic $tests/yyarabic $tests/zyarabic || exit 1 echo && echo "*** diff yyarabicr.ovp yyarabicr.ovp" diff $tests/yyarabic.ovp $tests/zyarabic.ovp || exit 1