projects
/
pazpar2-moved-to-github.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test: Pass PERF_PROG rather than option --perf
[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
exec ${srcdir}/run_pazpar2.sh --ztest --icu $TEST
13
14
# Local Variables:
15
# mode:shell-script
16
# sh-indentation: 2
17
# sh-basic-offset: 4
18
# End: