3 # Run simple session load tester over a corpus of sessions.
6 if [ ! -f './tempo.cc' ]; then
7 echo "This script must be run from within the libs/ardour directory";
14 if [ "$1" == "--debug" -o "$1" == "--valgrind" ]; then
20 if [ "$d" == "" ]; then
21 echo "Syntax: run-session-tests.sh <corpus>"
25 for s in `find $d -mindepth 1 -maxdepth 1 -type d`; do
27 if [ "$f" == "--debug" ]; then
28 gdb --args ./libs/ardour/load-session $s $n
29 elif [ "$f" == "--valgrind" ]; then
30 valgrind ./libs/ardour/load-session $s $n
32 ./libs/ardour/load-session $s $n