add a common test-failed indicator
This commit is contained in:
parent
cb3961d953
commit
193a276e22
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue