allow spaces in TOP, cd to gtk2_ardour to avoid dup midnam, etc warnings
[ardour.git] / gtk2_ardour / artest
1 #!/bin/sh
2
3 cd "`dirname \"$0\"`"
4
5 TOP=..
6 . $TOP/build/gtk2_ardour/ardev_common_waf.sh
7
8 LIBS_DIR=$TOP/build/libs
9
10 run_tests () {
11   echo ""
12   echo "-------------------------------------------"
13   echo "Running tests for $1..."
14   echo "-------------------------------------------"
15   echo ""
16   $2 $LIBS_DIR/$1/run-tests
17   echo ""
18 }
19
20 if [ $# -gt 0 ]; then
21         run_tests $1 $2
22         exit
23 fi
24
25 run_tests audiographer
26 run_tests midi++2
27 run_tests evoral
28 run_tests pbd
29 run_tests ardour