diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/xdvipdfm-psz.test')
-rwxr-xr-x | Build/source/texk/dvipdfm-x/xdvipdfm-psz.test | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Build/source/texk/dvipdfm-x/xdvipdfm-psz.test b/Build/source/texk/dvipdfm-x/xdvipdfm-psz.test new file mode 100755 index 00000000000..7825a41c4d8 --- /dev/null +++ b/Build/source/texk/dvipdfm-x/xdvipdfm-psz.test @@ -0,0 +1,31 @@ +#! /bin/sh -vx +# $Id$ +# Copyright 2017 Karl Berry <tex-live@tug.org> +# Copyright 2013 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 -m 1.0 -o paper2.pdf <paper.dvi" && echo \ + && ./xdvipdfmx -v -m 1.0 -o paper2.pdf <$srcdir/tests/paper.dvi \ + && echo && echo "xdvipdfmx-paper tests OK" && echo \ + || failed="$failed xdvipdfmx-paper" + +echo "*** xdvipdfmx -v -m 1.4 -o - paper >paper2m.pdf" && echo \ + && ./xdvipdfmx -v -m 1.4 -o - $srcdir/tests/paper >paper2m.pdf \ + && echo && echo "xdvipdfmx-paper-mag tests OK" && echo \ + || failed="$failed xdvipdfmx-paper-mag" + +test -z "$failed" && exit 0 +echo +echo "failed tests:$failed" +exit 1 + |