2014-01-08 15:00:34 -05:00
|
|
|
#!/bin/sh
|
2014-11-30 20:37:35 -05:00
|
|
|
|
2014-12-03 14:45:12 -05:00
|
|
|
cd "`dirname \"$0\"`"
|
|
|
|
|
|
|
|
TOP=..
|
2014-11-30 20:37:35 -05:00
|
|
|
. $TOP/build/gtk2_ardour/ardev_common_waf.sh
|
2014-01-08 15:00:34 -05:00
|
|
|
|
|
|
|
LIBS_DIR=$TOP/build/libs
|
|
|
|
|
2015-02-13 10:10:00 -05:00
|
|
|
ALLGOOD=yes
|
|
|
|
|
2014-01-08 15:00:34 -05:00
|
|
|
run_tests () {
|
|
|
|
echo ""
|
|
|
|
echo "-------------------------------------------"
|
|
|
|
echo "Running tests for $1..."
|
|
|
|
echo "-------------------------------------------"
|
|
|
|
echo ""
|
2015-02-13 10:10:00 -05:00
|
|
|
$2 $LIBS_DIR/$1/run-tests || ALLGOOD=no
|
2014-01-08 15:00:34 -05:00
|
|
|
echo ""
|
|
|
|
}
|
|
|
|
|
|
|
|
if [ $# -gt 0 ]; then
|
|
|
|
run_tests $1 $2
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
run_tests audiographer
|
|
|
|
run_tests midi++2
|
|
|
|
run_tests evoral
|
|
|
|
run_tests pbd
|
|
|
|
run_tests ardour
|
2015-02-13 10:10:00 -05:00
|
|
|
|
|
|
|
if test "$ALLGOOD" != "yes"; then
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo " *** SOME TEST(s) FAILED ***"
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
fi
|