Fix error must stop

This commit is contained in:
Laurent Destailleur 2023-07-25 23:29:20 +02:00
parent 2bc6cd20dd
commit 500a7e4451

View File

@ -464,8 +464,8 @@ script:
- |
echo "Unit testing"
# Ensure we catch errors. Set this to +e instead of -e if you want to go to the end to see dolibarr.log file.
set +e
# Ensure we catch errors with -e. Set this to +e instead of -e if you want to go to the end to see dolibarr.log file.
set -e
phpunit -d memory_limit=-1 -c test/phpunit/phpunittest.xml test/phpunit/AllTests.php
phpunitresult=$?
echo "Phpunit return code = $phpunitresult"