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"
|
|
|
|
|
2014-11-29 08:42:21 -05:00
|
|
|
TOP=`dirname "$0"`/..
|
|
|
|
. $TOP/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 \
|
2013-08-08 16:31:08 -04:00
|
|
|
--track-origins=yes \
|
2012-12-22 23:37:38 -05:00
|
|
|
--suppressions=`dirname "$0"`/../tools/valgrind.supp \
|
2015-09-07 09:43:20 -04:00
|
|
|
--suppressions=`dirname "$0"`/../tools/objc.supp \
|
2012-12-22 23:37:38 -05:00
|
|
|
$TOP/$EXECUTABLE --novst "$@"
|