summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/charwd.test
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/omegaware/charwd.test')
-rwxr-xr-xBuild/source/texk/web2c/omegaware/charwd.test38
1 files changed, 38 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegaware/charwd.test b/Build/source/texk/web2c/omegaware/charwd.test
new file mode 100755
index 00000000000..3db3e360fc8
--- /dev/null
+++ b/Build/source/texk/web2c/omegaware/charwd.test
@@ -0,0 +1,38 @@
+#! /bin/sh
+
+# Copyright (C) 2010-2014 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
+
+grep -v 'CHARWD R' $srcdir/$tests/charwd-r.pl >$tests/charwdr.pl
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./wopl2ofm -verbose $tests/charwdr.pl $tests/charwdr.tfm || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ OFMFONTS=.:$tests \
+ ./wofm2opl -verbose $tests/charwdr.tfm $tests/charwdr.xpl || exit 1
+
+diff $srcdir/$tests/charwd-r.pl $tests/charwdr.xpl || exit 1
+
+grep -v 'CHARWD R' $srcdir/$tests/charwd-v.vpl >$tests/charwdv.vpl
+
+TEXMFCNF=$srcdir/../kpathsea \
+ ./wovp2ovf -verbose $tests/charwdv.vpl $tests/charwdv.vf $tests/charwdv.tfm || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ OFMFONTS=.:$tests \
+ ./wofm2opl -verbose $tests/charwdr.tfm $tests/charwdr.xpl || exit 1
+
+diff $srcdir/$tests/charwd-r.pl $tests/charwdr.xpl || exit 1
+
+TEXMFCNF=$srcdir/../kpathsea \
+ OFMFONTS=.:$tests \
+ VFFONTS=$tests \
+ ./wovf2ovp -verbose $tests/charwdv.vf $tests/charwdv.tfm $tests/charwdv.xpl || exit 1
+
+diff $srcdir/$tests/charwd-v.vpl $tests/charwdv.xpl || exit 1
+