Add --num-callers=30 in valgrind mode for test
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 29 Mar 2011 08:58:05 +0000 (10:58 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 29 Mar 2011 08:58:05 +0000 (10:58 +0200)
test/run_pazpar2.sh

index f5f9f8e..ac1521b 100755 (executable)
@@ -57,7 +57,7 @@ URLS=${PREFIX}.urls
 VALGRINDLOG=${PREFIX}_valgrind.log
 
 if test -n "$PAZPAR2_USE_VALGRIND"; then
-    valgrind --show-reachable=yes --leak-check=full --log-file=$VALGRINDLOG ../src/pazpar2 -X -l pazpar2.log -f ${CFG} >extra_pazpar2.log 2>&1 &
+    valgrind --num-callers=30 --show-reachable=yes --leak-check=full --log-file=$VALGRINDLOG ../src/pazpar2 -X -l pazpar2.log -f ${CFG} >extra_pazpar2.log 2>&1 &
 elif test -n "$SKIP_PAZPAR2"; then 
     echo "Skipping pazpar2. Must already be running with correct config!!! " 
 else