Restore error on phpunit error

This commit is contained in:
Laurent Destailleur 2023-03-27 08:27:31 +02:00
parent 28818fc65b
commit f5980f2345

View File

@ -57,7 +57,7 @@ addons:
env:
global:
# Set to true for very verbose output
- DEBUG=true
- DEBUG=false
jobs:
fast_finish: true
@ -474,7 +474,7 @@ 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
set -e
phpunit -d memory_limit=-1 -c test/phpunit/phpunittest.xml test/phpunit/AllTests.php
phpunitresult=$?
echo "Phpunit return code = $phpunitresult"