summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegafonts/yannis.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/omegafonts/yannis.test')
-rwxr-xr-xBuild/source/texk/web2c/omegafonts/yannis.test60
1 files changed, 60 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegafonts/yannis.test b/Build/source/texk/web2c/omegafonts/yannis.test
new file mode 100755
index 00000000000..e917e96e185
--- /dev/null
+++ b/Build/source/texk/web2c/omegafonts/yannis.test
@@ -0,0 +1,60 @@
+#! /bin/sh -vx
+# $Id$
+# Copyright 2017 Karl Berry <tex-live@tug.org>
+# Copyright 2014 Peter Breitenlohner <tex-live@tug.org>
+# You may freely use, modify and/or distribute this file.
+
+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"
+./omfonts -opl2ofm -verbose $srcdir/tests/arabicr.pl tests/zyarabicr || exit 1
+
+echo && echo "*** ofm2opl yarabicr.tfm xyarabicr"
+./omfonts -ofm2opl -verbose tests/yarabicr.tfm tests/xyarabicr || exit 1
+
+echo && echo "*** ofm2opl zyarabicr zyarabicr"
+./omfonts -ofm2opl -verbose 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"
+./omfonts -ovp2ovf -verbose $srcdir/tests/arabic tests/yarabic tests/yarabic || exit 1
+
+echo && echo "*** ofm2opl yarabic xyarabic"
+./omfonts -ofm2opl -verbose tests/yarabic tests/xyarabic || exit 1
+
+echo && echo "*** opl2ofm xyarabic xyarabic"
+./omfonts -opl2ofm -verbose tests/xyarabic tests/xyarabic || exit 1
+
+echo && echo "*** ofm2opl xyarabic yyarabic"
+./omfonts -ofm2opl -verbose 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"
+./omfonts -ovf2ovp -verbose tests/yarabic tests/yarabic tests/yyarabic || exit 1
+
+echo && echo "*** ovp2ovf yyarabic yyarabic yyarabic"
+./omfonts -ovp2ovf -verbose tests/yyarabic tests/yyarabic tests/yyarabic || exit 1
+
+echo && echo "*** ofm2opl yyarabic xyarabic"
+./omfonts -ofm2opl -verbose 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"
+./omfonts -ovf2ovp -verbose tests/yyarabic tests/yyarabic tests/zyarabic || exit 1
+
+echo && echo "*** diff yyarabicr.ovp yyarabicr.ovp"
+diff tests/yyarabic.ovp tests/zyarabic.ovp || exit 1
+