summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/xdvipdfm-ann.test
blob: 5ea0d0be35a98bf252090077ff5772274c165f2a (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
#! /bin/sh

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

# Not really a test, just making sure the program executes.

TEXMFCNF=${srcdir}/../kpathsea
TEXFONTS=${srcdir}/tests:${srcdir}/data
DVIPDFMXINPUTS=${srcdir}/tests:${srcdir}/data
TEXPICTS=${srcdir}/tests
export TEXMFCNF TEXFONTS DVIPDFMXINPUTS TEXPICTS

failed=

echo "*** xdvipdfmx -v -o annot2.pdf annot" && echo \
	&& ./xdvipdfmx -v -o annot2.pdf ${srcdir}/tests/annot \
	&& echo && echo "xdvipdfmx-ann tests OK" && echo \
	|| failed="$failed xdvipdfmx-ann"	

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