projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49873e8
)
Use PAZPAR2_USE_VALGRIND for test
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 15 Oct 2009 07:58:07 +0000
(09:58 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 15 Oct 2009 07:58:07 +0000
(09:58 +0200)
If PAZPAR2_USE_VALGRIND=true, valgrind will be used for a test, eg
PAZPAR2_USE_VALGRIND=true ./test_http.sh .
test/run_pazpar2.sh
patch
|
blob
|
history
diff --git
a/test/run_pazpar2.sh
b/test/run_pazpar2.sh
index
cdc6ee4
..
c44ae92
100755
(executable)
--- a/
test/run_pazpar2.sh
+++ b/
test/run_pazpar2.sh
@@
-41,6
+41,9
@@
URLS=${PREFIX}_urls
VALGRINDLOG=${PREFIX}_valgrind.log
usevalgrind=false
+if test -n "$PAZPAR2_USE_VALGRIND"; then
+ usevalgrind=$PAZPAR2_USE_VALGRIND;
+fi
if $usevalgrind; then
valgrind --leak-check=full --log-file=$VALGRINDLOG ../src/pazpar2 -X -l pazpar2.log -f ${CFG} >extra_pazpar2.log 2>&1 &
else