aboutsummaryrefslogtreecommitdiffstats
path: root/autotest-external.sh
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-12-19 21:40:08 +0100
committerLukas Reschke <lukas@statuscode.ch>2016-12-20 22:05:33 +0100
commit1c80307537ea6e8542c5afda6b2ddb2d4ddf4dc3 (patch)
tree1397000e6d9568f36b306f5da1925014c2124df2 /autotest-external.sh
parentd7b340264321008ccbf7fe057c0a9107cabc7085 (diff)
downloadnextcloud-server-1c80307537ea6e8542c5afda6b2ddb2d4ddf4dc3.tar.gz
nextcloud-server-1c80307537ea6e8542c5afda6b2ddb2d4ddf4dc3.zip
Add SMB tests and execute files_external tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'autotest-external.sh')
-rwxr-xr-xautotest-external.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/autotest-external.sh b/autotest-external.sh
index 7d2e506ae98..a6ca077ebb0 100755
--- a/autotest-external.sh
+++ b/autotest-external.sh
@@ -167,11 +167,14 @@ EOF
fi
if [ -z "$NOCOVERAGE" ]; then
"$PHPUNIT" --configuration phpunit-autotest-external.xml --log-junit "autotest-external-results-$1.xml" --coverage-clover "autotest-external-clover-$1.xml" --coverage-html "coverage-external-html-$1"
- RESULT=$?
else
echo "No coverage"
"$PHPUNIT" --configuration phpunit-autotest-external.xml --log-junit "autotest-external-results-$1.xml"
- RESULT=$?
+ fi
+
+ if [[ $? -ne 0 ]]; then
+ echo "Error during phpunit execution ... terminating"
+ exit 1
fi
if [ -n "$2" -a "$2" == "common-tests" ]; then