X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fartest;h=24d07785bc9697d163649d3d0e78abb39251f210;hb=c9f9bb263fc3f96e383216d515c62ac6706b56da;hp=c4a79ab249656c280df1570d4ea929d1f9c49312;hpb=302c93df04789860cb7a7a9f098788a12659fa9d;p=ardour.git diff --git a/gtk2_ardour/artest b/gtk2_ardour/artest index c4a79ab249..24d07785bc 100755 --- a/gtk2_ardour/artest +++ b/gtk2_ardour/artest @@ -1,21 +1,21 @@ #!/bin/sh -REL_TOP=`dirname "$0"`/.. -TOP=`realpath $REL_TOP` +cd "`dirname \"$0\"`" +TOP=.. . $TOP/build/gtk2_ardour/ardev_common_waf.sh LIBS_DIR=$TOP/build/libs +ALLGOOD=yes + run_tests () { echo "" echo "-------------------------------------------" echo "Running tests for $1..." echo "-------------------------------------------" echo "" - cd $LIBS_DIR/$1 - $2 ./run-tests - cd - + $2 $LIBS_DIR/$1/run-tests || ALLGOOD=no echo "" } @@ -29,3 +29,11 @@ run_tests midi++2 run_tests evoral run_tests pbd run_tests ardour + +if test "$ALLGOOD" != "yes"; then + echo "" + echo "" + echo " *** SOME TEST(s) FAILED ***" + echo "" + echo "" +fi