| 1 |
#! /bin/sh -vx |
| 2 |
# Copyright 2024 Japanese TeX Development Community <[email protected]> |
| 3 |
# You may freely use, modify and/or distribute this file. |
| 4 |
|
| 5 |
BinDir=${BinDir:-.} |
| 6 |
ExeExt=${ExeExt:-} |
| 7 |
_euptex=$BinDir/euptex$ExeExt |
| 8 |
|
| 9 |
LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE |
| 10 |
|
| 11 |
TEXMFCNF=$srcdir/../kpathsea;export TEXMFCNF |
| 12 |
OFMFONTS=".;$srcdir/tests"; export OFMFONTS |
| 13 |
TEXINPUTS=".;$srcdir/tests"; export TEXINPUTS |
| 14 |
TEXFORMATS=.; export TEXFORMATS |
| 15 |
|
| 16 |
# get same filename in log |
| 17 |
rm -f eup-prim.* |
| 18 |
$LN_S $srcdir/euptexdir/tests/eup-prim.tex ./eup-prim.tex |
| 19 |
|
| 20 |
if test ! -f ./eup-basic.tex; then |
| 21 |
cp $srcdir/tests/dump-basic.tex ./eup-basic.tex |
| 22 |
fi |
| 23 |
if test ! -f ./eup-basic.fmt; then |
| 24 |
$_euptex -ini -etex eup-basic || exit 1 |
| 25 |
fi |
| 26 |
|
| 27 |
$_euptex -fmt=eup-basic -interaction=batchmode eup-prim || : |
| 28 |
|
| 29 |
sed 1d eup-prim.log >eup-prim.out |
| 30 |
|
| 31 |
diff $srcdir/euptexdir/tests/eup-prim.log eup-prim.out || exit 3 |
| 32 |
|