2005-09-25 14:42:24 -04:00
|
|
|
#!/bin/sh
|
2012-12-22 23:37:38 -05:00
|
|
|
VALGRIND_OPTIONS="$VALGRIND_OPTIONS --num-callers=50"
|
|
|
|
VALGRIND_OPTIONS="$VALGRIND_OPTIONS --error-limit=no"
|
2013-01-14 16:46:32 -05:00
|
|
|
#VALGRIND_OPTIONS="$VALGRIND_OPTIONS --leak-check=full --leak-resolution=high"
|
2012-12-22 23:37:38 -05:00
|
|
|
#VALGRIND_OPTIONS="$VALGRIND_OPTIONS --log-file=/tmp/ardour-%p.log"
|
|
|
|
#VALGRIND_OPTIONS="$VALGRIND_OPTIONS --gen-suppressions=all"
|
|
|
|
|
2011-09-29 15:17:54 -04:00
|
|
|
. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh
|
2009-07-22 09:53:19 -04:00
|
|
|
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
|
2006-10-17 16:40:39 -04:00
|
|
|
export ARDOUR_RUNNING_UNDER_VALGRIND=TRUE
|
2012-12-22 23:37:38 -05:00
|
|
|
exec valgrind --tool=memcheck \
|
|
|
|
$VALGRIND_OPTIONS \
|
|
|
|
--suppressions=`dirname "$0"`/../tools/valgrind.supp \
|
|
|
|
$TOP/$EXECUTABLE --novst "$@"
|