summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdf-x/dvipdfmx.test
blob: fc5ae188d94dde8da049e9ba98f5a45ed1b702e1 (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
31
32
33
34
#! /bin/sh

# Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.


TEXMFCNF=$srcdir/../kpathsea
TEXFONTMAPS="$srcdir/tests;$srcdir/data"
DVIPDFMXINPUTS="$srcdir/tests;$srcdir/data"
TEXPICTS=$srcdir/tests
export TEXMFCNF TEXFONTMAPS DVIPDFMXINPUTS TEXPICTS

failed=

echo "*** dvipdfmx --version" \
	&& ./dvipdfmx --version \
	&& echo && echo "dvipdfmx-version tests OK" && echo \
	|| failed="$failed dvipdfmx-version"

echo "*** dvipdfmx --help" \
	&& ./dvipdfmx --help \
	&& echo && echo "dvipdfmx-help tests OK" && echo \
	|| failed="$failed dvipdfmx-help"

echo "*** dvipdfmx -v -o image1.pdf image" && echo \
	&& ./dvipdfmx -v -o image1.pdf $srcdir/tests/image \
	&& echo && echo "dvipdfmx-image tests OK" && echo \
	|| failed="$failed dvipdfmx-image"	

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