summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/omegaware/shorten.test
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-03 12:19:20 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-08-03 12:19:20 +0000
commit9b1a7933abd546e9e473f267cf90293445d7e048 (patch)
tree1f66b6c31303f38bd685b6bdd07d9e1d9e89f308 /Build/source/texk/web2c/omegaware/shorten.test
parent3b694f435dcd9dc4addcb764ba0d8aa4ffd01185 (diff)
omegafonts: Fixed a character dimension rounding bug
omegafonts,omegaware: Added character dimension rounding tests git-svn-id: svn://tug.org/texlive/trunk@34806 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/omegaware/shorten.test')
-rwxr-xr-xBuild/source/texk/web2c/omegaware/shorten.test26
1 files changed, 26 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegaware/shorten.test b/Build/source/texk/web2c/omegaware/shorten.test
new file mode 100755
index 00000000000..3d89e45af41
--- /dev/null
+++ b/Build/source/texk/web2c/omegaware/shorten.test
@@ -0,0 +1,26 @@
+#! /bin/sh
+
+# Copyright (C) 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
+
+TEXMFCNF=$srcdir/../kpathsea
+export TEXMFCNF
+
+echo && echo "pltotf $tests/shorten.opl $tests/shortend.tfm" && \
+ ./pltotf $srcdir/$tests/shorten.opl $tests/shortend.tfm || exit
+
+echo && echo "wofm2opl $tests/shorten.tfm $tests/shortend.pl" && \
+ ./wofm2opl $tests/shortend.tfm $tests/shortend.pl || exit
+
+echo && echo "wopl2ofm $tests/shorten $tests/shortend" && \
+ ./wopl2ofm $srcdir/$tests/shorten $tests/shortend || exit
+
+echo && echo "wofm2opl $tests/shorten $tests/shortend" && \
+ ./wofm2opl $tests/shortend $tests/shortend || exit
+
+diff $tests/shortend.pl $tests/shortend.opl || exit
+