summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/ofonts.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:27:09 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-10 10:27:09 +0000
commit5e8e9500102800e68c9e7fcac9e85c1668b71a36 (patch)
tree81d79ac70ffbb127e8063f18c8f55475ca169ee1 /Build/source/texk/web2c/omegaware/ofonts.test
parente6a9c88ada2f11dd61e4c4e39dff84944bed5787 (diff)
towards TL2010: texk/web2c
git-svn-id: svn://tug.org/texlive/trunk@15964 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegaware/ofonts.test')
-rwxr-xr-xBuild/source/texk/web2c/omegaware/ofonts.test60
1 files changed, 60 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegaware/ofonts.test b/Build/source/texk/web2c/omegaware/ofonts.test
new file mode 100755
index 00000000000..9cdad045234
--- /dev/null
+++ b/Build/source/texk/web2c/omegaware/ofonts.test
@@ -0,0 +1,60 @@
+#! /bin/sh
+
+# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# 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
+
+