3 # Run libardour test suite.
6 if [ "$1" == "--single" ] || [ "$2" == "--single" ]; then
7 if [ "$1" == "--single" ]; then
9 elif [ "$2" == "--single" ]; then
14 for test_program in `find libs/ardour -name "$TESTS" -type f -perm /u+x`;
16 echo "Running $test_program..."
17 if [ "$1" == "--debug" ]; then
19 elif [ "$1" == "--valgrind" ]; then
20 valgrind ./"$test_program"
26 if [ "$1" == "--debug" ]; then
27 gdb ./libs/ardour/run-tests
28 elif [ "$1" == "--valgrind" ]; then
29 valgrind ./libs/ardour/run-tests
31 ./libs/ardour/run-tests $*