From 193a276e220455e8e7f48309a8cedd8ff1b6842c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 13 Feb 2015 16:10:00 +0100 Subject: add a common test-failed indicator --- gtk2_ardour/artest | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/artest b/gtk2_ardour/artest index 5e6432d634..24d07785bc 100755 --- a/gtk2_ardour/artest +++ b/gtk2_ardour/artest @@ -7,13 +7,15 @@ TOP=.. LIBS_DIR=$TOP/build/libs +ALLGOOD=yes + run_tests () { echo "" echo "-------------------------------------------" echo "Running tests for $1..." echo "-------------------------------------------" echo "" - $2 $LIBS_DIR/$1/run-tests + $2 $LIBS_DIR/$1/run-tests || ALLGOOD=no echo "" } @@ -27,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 -- cgit v1.2.3