blob: 3f6702ece4bf099b97e63650012aebe33b166ce2 (
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 -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2015 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
BinDir=${BinDir:-.}
ExeExt=${ExeExt:-}
_xdvipdfmx=$BinDir/xdvipdfmx$ExeExt
TEXMFCNF=$srcdir/../kpathsea
TFMFONTS="$srcdir/tests;$srcdir/data"
T1FONTS="$srcdir/tests;$srcdir/data"
TTFONTS="$srcdir/tests;$srcdir/data"
TEXFONTMAPS="$srcdir/tests;$srcdir/data"
DVIPDFMXINPUTS="$srcdir/tests;$srcdir/data"
export TEXMFCNF TFMFONTS T1FONTS TTFONTS TEXFONTMAPS DVIPDFMXINPUTS
failed=
echo "*** xdvipdfmx -v -z0 -o ttc2.pdf ttc" && echo \
&& $_xdvipdfmx -v -z0 -o ttc2.pdf $srcdir/tests/ttc \
&& echo && echo "xdvipdfmx-ttc tests OK" && echo \
|| failed="$failed xdvipdfmx-ttc"
test -z "$failed" && exit 0
echo
echo "failed tests:$failed"
exit 1
|