blob: 4cd1aadfd3ee0b807efecbb6bf46e3b219cc5a4d (
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
|
#!/bin/sh -vx
# $Id: hello.test 61117 2021-11-22 16:45:58Z mruckert $
# Public domain. Originally written by Martin Ruckert
# Basic check that hello.tex can be profiled
LC_ALL=C; export LC_ALL; LANGUAGE=C; export LANGUAGE
TEXMFCNF=$srcdir/../kpathsea; export TEXMFCNF
TEXINPUTS=$srcdir/texprofdir/tests; export TEXINPUTS
TFMFONTS=$srcdir/tests; export TFMFONTS
T1FONTS=$srcdir/tests; export T1FONTS
# separate from texprofdir/tests because automake writes hello.log
# in texprofdir/tests (so it already exists).
test -d ./texprofdir || mkdir texprofdir
test -d ./texprofdir/tests || mkdir texprofdir/tests
OUTDIR=./texprofdir/tests/outdir;
test -d $OUTDIR || mkdir $OUTDIR
#./texprof --help >/dev/null || exit $?
./texprof --version || exit $?
./texprofile --version || exit $?
./texprof -prof -ini -interaction=nonstopmode -output-directory=$OUTDIR hello.tex \
|| exit $?
./texprofile hello.tprof || exit $?
exit 0
|