Use ardev_common.sh to setup environment for running libardour tests
[ardour.git] / gtk2_ardour / artest
1 #!/bin/sh
2
3 TOP=`dirname "$0"`/..
4 . $TOP/build/gtk2_ardour/ardev_common_waf.sh
5
6 LIBS_DIR=$TOP/build/libs
7
8 run_tests () {
9   echo ""
10   echo "-------------------------------------------"
11   echo "Running tests for $1..."
12   echo "-------------------------------------------"
13   echo ""
14   $2 $LIBS_DIR/$1/run-tests
15   echo ""
16 }
17
18 if [ $# -gt 0 ]; then
19         run_tests $1 $2
20         exit
21 fi
22
23 run_tests audiographer
24 run_tests midi++2
25 run_tests evoral
26 run_tests pbd
27 run_tests ardour