3 # Run libardour test suite.
7 if [ "$1" == "--single" ] || [ "$2" == "--single" ]; then
8 if [ "$1" == "--single" ]; then
10 elif [ "$2" == "--single" ]; then
15 for test_program in `find libs/ardour -name "$TESTS" -type f -perm /u+x`;
17 echo "Running $test_program..."
18 if [ "$1" == "--debug" ]; then
20 elif [ "$1" == "--valgrind" ]; then
21 valgrind ./"$test_program"
27 if [ "$1" == "--debug" ]; then
28 gdb ./libs/ardour/run-tests
29 elif [ "$1" == "--valgrind" ]; then
30 valgrind ./libs/ardour/run-tests
32 ./libs/ardour/run-tests $*