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 () {
|
2016-10-10 18:03:18 -04:00
|
|
|
echo ""
|
|
|
|
echo "-------------------------------------------"
|
|
|
|
RUN=run-tests
|
|
|
|
if test -n "$2"; then
|
|
|
|
RUN=$2
|
2022-06-11 08:47:28 -04:00
|
|
|
echo "Running test $2 of libs/$1..."
|
2016-10-10 18:03:18 -04:00
|
|
|
else
|
2022-06-11 08:47:28 -04:00
|
|
|
echo "Running tests for libs/$1..."
|
2016-10-10 18:03:18 -04:00
|
|
|
fi
|
|
|
|
echo "-------------------------------------------"
|
|
|
|
echo ""
|
2022-06-11 08:47:28 -04:00
|
|
|
$3 $LIBS_DIR/$1/$RUN || ALLGOOD=no
|
|
|
|
echo ""
|
2014-01-08 15:00:34 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
if [ $# -gt 0 ]; then
|
2020-11-05 04:20:25 -05:00
|
|
|
run_tests "$1" "$2" "$3"
|
2014-01-08 15:00:34 -05:00
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
run_tests audiographer
|
|
|
|
run_tests midi++2
|
|
|
|
run_tests evoral
|
|
|
|
run_tests pbd
|
|
|
|
run_tests ardour
|
2022-02-12 17:12:24 -05:00
|
|
|
run_tests temporal
|
2015-02-13 10:10:00 -05:00
|
|
|
|
|
|
|
if test "$ALLGOOD" != "yes"; then
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo " *** SOME TEST(s) FAILED ***"
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
fi
|