summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/xdvipdfmx.test
blob: 0facea9c040aa409fab7c4ad37914e2e9d72dcda (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
#! /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
DVIPDFMXINPUTS=${srcdir}/tests:${srcdir}/data
export TEXMFCNF DVIPDFMXINPUTS

failed=

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

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

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