summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/dvipdfm-psz.test
blob: ee4c7025bdc941cf5a0308e99b378e2b55954dcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /bin/sh

# Copyright (C) 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 "*** dvipdfmx -v -m 1.0 -o - paper >paper1.pdf" && echo \
	&& ./dvipdfmx -v -m 1.0 -o - $srcdir/tests/paper >paper1.pdf \
	&& echo && echo "dvipdfmx-paper tests OK" && echo \
	|| failed="$failed dvipdfmx-paper"	

echo "*** dvipdfmx -v -m 1.4 -o paper1m.pdf <paper.dvi" && echo \
	&& ./dvipdfmx -v -m 1.4 -o paper1m.pdf <$srcdir/tests/paper.dvi \
	&& echo && echo "dvipdfmx-paper-mag tests OK" && echo \
	|| failed="$failed dvipdfmx-paper-mag"	

test -z "$failed" && exit 0
echo
echo "failed tests:$failed"
exit 1