blob: 2db8ef4c7e3288ee386540119c6df42d99cb62df (
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
35
36
37
38
|
#! /bin/sh -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2011-2013 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d uptests || mkdir -p uptests
if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
TEXMFCNF=$srcdir/../kpathsea \
TFMFONTS=`dirname "$tfmpath"` \
./updvitype -show-opcodes $srcdir/tests/story >uptests/xstory.dvityp || exit 1
fi
TEXMFCNF=$srcdir/../kpathsea \
TFMFONTS=$srcdir/tests \
./updvitype --p=\*.\*.2 $srcdir/tests/pagenum.dvi >uptests/xpagenum.typ || exit 2
TEXMFCNF=$srcdir/../kpathsea
TFMFONTS=$srcdir/ptexdir/tests:$srcdir/uptexdir/tests:$srcdir/tests
export TEXMFCNF TFMFONTS
for enc in utf8 jis; do
for doc in ptex3 ptex4; do
./updvitype -kanji=$enc $srcdir/ptexdir/tests/$doc.dvi >uptests/x$doc-$enc.typ || exit 3
sed 1d uptests/x$doc-$enc.typ >uptests/x${doc}a-$enc.typ
diff $srcdir/ptexdir/tests/${doc}a-$enc.typ uptests/x${doc}a-$enc.typ || exit 4
done
done
for doc in uptex3 uptex4; do
./updvitype $srcdir/uptexdir/tests/$doc.dvi >uptests/x$doc.typ || exit 5
sed 1d uptests/x$doc.typ >uptests/x${doc}a.typ
diff $srcdir/uptexdir/tests/${doc}a.typ uptests/x${doc}a.typ || exit 6
done
|