summaryrefslogtreecommitdiffstats
path: root/autotest-checkers.sh
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-10 14:56:16 +0200
committerJoas Schilling <coding@schilljs.com>2017-05-16 16:17:54 +0200
commit7ec58479f98ef6c8021c079ad701aebecd0fbea7 (patch)
tree59fd366a1c208196d42c24a199973b73caf21318 /autotest-checkers.sh
parent3571355eb579e0a7a027ef9bcb83a2c24f1751aa (diff)
downloadnextcloud-server-7ec58479f98ef6c8021c079ad701aebecd0fbea7.tar.gz
nextcloud-server-7ec58479f98ef6c8021c079ad701aebecd0fbea7.zip
Fix return code handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'autotest-checkers.sh')
-rwxr-xr-xautotest-checkers.sh10
1 files changed, 9 insertions, 1 deletions
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