diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-07-30 07:48:50 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2015-07-30 07:48:50 +0000 |
commit | 6dc0ccac671319a03fa217782f7cbd746556c426 (patch) | |
tree | 29881e243c265207353338e49605ddb82694d6b4 /Build/source/texk/dvipdfm-x/xdvipdfm-ptx.test | |
parent | 605027ee899440dd82b4e95f8fa7df96a007ea8f (diff) |
texk/dvipdfm-x: Add tests for Ascii pTeX and TeX-XeT DVI extensions
git-svn-id: svn://tug.org/texlive/trunk@38003 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/xdvipdfm-ptx.test')
-rwxr-xr-x | Build/source/texk/dvipdfm-x/xdvipdfm-ptx.test | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/xdvipdfm-ptx.test b/Build/source/texk/dvipdfm-x/xdvipdfm-ptx.test new file mode 100755 index 00000000000..133490feacd --- /dev/null +++ b/Build/source/texk/dvipdfm-x/xdvipdfm-ptx.test @@ -0,0 +1,30 @@ +#! /bin/sh + +# Copyright (C) 2015 Peter Breitenlohner <tex-live@tug.org> +# You may freely use, modify and/or distribute this file. + +TEXMFCNF=$srcdir/../kpathsea +TFMFONTS="$srcdir/tests;$srcdir/data" +T1FONTS="$srcdir/tests;$srcdir/data" +TEXFONTMAPS="$srcdir/tests;$srcdir/data" +DVIPDFMXINPUTS="$srcdir/tests;$srcdir/data" +TEXPICTS=$srcdir/tests +export TEXMFCNF TFMFONTS T1FONTS TEXFONTMAPS DVIPDFMXINPUTS TEXPICTS + +failed= + +echo "*** xdvipdfmx -v -z0 -o ptex1.pdf ptex" && echo \ + && ./xdvipdfmx -v -z0 -o ptex1.pdf $srcdir/tests/ptex \ + && echo && echo "xdvipdfmx-ptex tests OK" && echo \ + || failed="$failed xdvipdfmx-ptex" + +echo "*** xdvipdfmx -v -z0 <ptex.dvi >ptex2.pdf" && echo \ + && ./xdvipdfmx -v -z0 <$srcdir/tests/ptex.dvi >ptex2.pdf \ + && echo && echo "xdvipdfmx-ptex (stdin->stdout) tests OK" && echo \ + || failed="$failed xdvipdfmx-ptex (stdin->stdout)" + +test -z "$failed" && exit 0 +echo +echo "failed tests:$failed" +exit 1 + |