diff options
author | Stanislav Malyshev <stas@php.net> | 2018-03-19 01:18:54 -0700 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2018-03-19 01:20:04 -0700 |
commit | 371076d6f080ba4c05109219a5618209523ee5d5 (patch) | |
tree | 60755b09424e33e8aba7a580a0e461d4f9767da0 /run-tests.php | |
parent | 6aec16c0d9b04edc6de2ae3b357b80668dcbb690 (diff) | |
parent | 13a33f7c7b59d98098e1e1b89a8da1c713eda897 (diff) | |
download | php-git-371076d6f080ba4c05109219a5618209523ee5d5.tar.gz |
Merge branch 'PHP-7.2'
* PHP-7.2:
Set tests exit status by defaul - also in other instance.
Diffstat (limited to 'run-tests.php')
-rw-r--r-- | run-tests.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index 7ab872119a..e66eeba34e 100644 --- a/run-tests.php +++ b/run-tests.php @@ -999,7 +999,9 @@ if ($html_output) { save_or_mail_results(); junit_save_xml(); -if (getenv('REPORT_EXIT_STATUS') == 1 && ($sum_results['FAILED'] || $sum_results['LEAKED'])) { +if (getenv('REPORT_EXIT_STATUS') !== '0' && + getenv('REPORT_EXIT_STATUS') !== 'no' && + ($sum_results['FAILED'] || $sum_results['LEAKED'])) { exit(1); } exit(0); |