# srcdir might be set by make
srcdir=${srcdir:-"."}
-exec ${srcdir}/run_pazpar2.sh --ztest --icu --perf $TEST
+if test -z "$PERF_PROG"; then
+ if test -x /usr/bin/time; then
+ PERF_PROG="/usr/bin/time -p"
+ fi
+fi
+export PERF_PROG
+exec ${srcdir}/run_pazpar2.sh --ztest --icu $TEST
# Local Variables:
# mode:shell-script