summaryrefslogtreecommitdiff
path: root/gtk2_ardour/artest
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-02-13 16:10:00 +0100
committerRobin Gareus <robin@gareus.org>2015-02-13 16:10:47 +0100
commit193a276e220455e8e7f48309a8cedd8ff1b6842c (patch)
tree85c8ad8e1826fcbb27ad60a08e9476c7fee326fe /gtk2_ardour/artest
parentcb3961d9534d3bd86cc2c1c2be72b8eb33717e77 (diff)
add a common test-failed indicator
Diffstat (limited to 'gtk2_ardour/artest')
-rwxr-xr-xgtk2_ardour/artest12
1 files changed, 11 insertions, 1 deletions
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