3
# Run libardour profiling tests.
6
if [ "$1" == "" ]; then
7
echo "Syntax: run-profiling.sh [flag] <test> [<args>]"
13
export LD_PRELOAD=/home/carl/src/libfakejack/libjack.so
17
if [ "$p" == "--debug" -o "$p" == "--valgrind" -o "$p" == "--callgrind" ]; then
24
if [ "$f" == "--debug" ]; then
25
gdb --args ./libs/ardour/$p $*
26
elif [ "$f" == "--valgrind" ]; then
27
valgrind ./libs/ardour/$p $*
28
elif [ "$f" == "--callgrind" ]; then
29
valgrind --tool=callgrind ./libs/ardour/$p $*