diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-17 13:03:55 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-12-17 13:03:55 +0000 |
commit | 5837565307206d06f408fd7bc573853c5aef0133 (patch) | |
tree | 78f69595ceb2efed05322b6adc3caa0f78f692ef /Build/source/texk/web2c/uptexdir/yokotate.test | |
parent | 7f8bb118636cfad97feb21a581b997cfa6f84aab (diff) |
uptexdir: Add a test for upPLtoTF/upTFtoPL with yoko and tate fonts
git-svn-id: svn://tug.org/texlive/trunk@32429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/uptexdir/yokotate.test')
-rwxr-xr-x | Build/source/texk/web2c/uptexdir/yokotate.test | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/uptexdir/yokotate.test b/Build/source/texk/web2c/uptexdir/yokotate.test new file mode 100755 index 00000000000..c9a21203a02 --- /dev/null +++ b/Build/source/texk/web2c/uptexdir/yokotate.test @@ -0,0 +1,28 @@ +#! /bin/sh + +# Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +test -d uptests || mkdir -p uptests + +# Test inputs +testdir=$srcdir/uptexdir/tests + +# Testing pPLtoTF/pTFtoPL for min10 (yoko=horiz) and tmin10 (tate=vert). +for font in min10 tmin10; do + + ./uppltotf -verbose $testdir/$font.pl uptests/x$font.tfm && \ + cmp $testdir/$font.tfm uptests/x$font.tfm || exit 1 + + TEXMFCNF=$srcdir/../kpathsea \ + ./uptftopl -charcode-format octal -verbose $testdir/$font.tfm uptests/x$font.pl || exit 1 + + ./uppltotf uptests/x$font uptests/xx$font && \ + cmp $testdir/$font.tfm uptests/xx$font.tfm || exit 1 + + TEXMFCNF=$srcdir/../kpathsea TFMFONTS=uptests \ + ./uptftopl -charcode-format=octal xx$font uptests/xx$font && \ + diff uptests/x$font.pl uptests/xx$font.pl || exit 1 + +done + |