X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Farval;h=6503bc1ede840574e8b3b9b73b49642f696c2fe5;hb=0c3e840700a915fc1476cef73c591048f688f81e;hp=a91943fb4d89d74c6fac3e3b589785cde47f88d3;hpb=9ae0f6cbeec4702b50bcd2360ea4d5dc1aeebd47;p=ardour.git diff --git a/gtk2_ardour/arval b/gtk2_ardour/arval index a91943fb4d..6503bc1ede 100755 --- a/gtk2_ardour/arval +++ b/gtk2_ardour/arval @@ -1,3 +1,14 @@ #!/bin/sh -source ardev_common.sh -exec valgrind --db-attach=yes --num-callers=12 --tool=memcheck ./ardour.bin --novst $* +VALGRIND_OPTIONS="$VALGRIND_OPTIONS --num-callers=50" +VALGRIND_OPTIONS="$VALGRIND_OPTIONS --error-limit=no" +#VALGRIND_OPTIONS="$VALGRIND_OPTIONS --leak-check=full --leak-resolution=high" +#VALGRIND_OPTIONS="$VALGRIND_OPTIONS --log-file=/tmp/ardour-%p.log" +#VALGRIND_OPTIONS="$VALGRIND_OPTIONS --gen-suppressions=all" + +. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh +LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH +export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE +exec valgrind --tool=memcheck \ + $VALGRIND_OPTIONS \ + --suppressions=`dirname "$0"`/../tools/valgrind.supp \ + $TOP/$EXECUTABLE --novst "$@"