From 7ec58479f98ef6c8021c079ad701aebecd0fbea7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 10 May 2017 14:56:16 +0200 Subject: Fix return code handling Signed-off-by: Joas Schilling --- autotest-checkers.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/autotest-checkers.sh b/autotest-checkers.sh index ff89eba2b5e..295b3729bf1 100755 --- a/autotest-checkers.sh +++ b/autotest-checkers.sh @@ -1,10 +1,15 @@ #!/usr/bin/env bash # +RESULT=0 bash ./build/autoloaderchecker.sh +RESULT=$(($RESULT+$?)) bash ./build/mergejschecker.sh +RESULT=$(($RESULT+$?)) php ./build/translation-checker.php +RESULT=$(($RESULT+$?)) php ./build/htaccess-checker.php +RESULT=$(($RESULT+$?)) for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'); do @@ -28,7 +33,10 @@ for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'); do else ./occ app:check-code "$app" fi - RESULT=$? + RESULT=$(($RESULT+$?)) done; php ./build/signed-off-checker.php +RESULT=$(($RESULT+$?)) + +exit $RESULT -- cgit v1.2.3