mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Merge branch 'PHP-7.2'
* PHP-7.2: Set tests exit status by defaul - also in other instance.
This commit is contained in:
commit
371076d6f0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user