Allow predictable sessions PAZ-1030
[pazpar2-moved-to-github.git] / test / test_perf.sh
1 #!/bin/sh
2
3 TEST=`basename $0 .sh`
4 # srcdir might be set by make
5 srcdir=${srcdir:-"."}
6
7 if test -z "$PERF_PROG"; then
8     if test -x /usr/bin/time; then
9         PERF_PROG="/usr/bin/time -p"
10     fi
11 fi
12 export PERF_PROG
13 exec ${srcdir}/run_pazpar2.sh --ztest --icu $TEST
14
15 # Local Variables:
16 # mode:shell-script
17 # sh-indentation: 2
18 # sh-basic-offset: 4
19 # End: