Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Set tests exit status by defaul - also in other instance.
This commit is contained in:
Stanislav Malyshev 2018-03-19 01:17:36 -07:00
commit 13a33f7c7b

View File

@ -1018,7 +1018,9 @@ save_or_mail_results();
junit_save_xml();
if (getenv('REPORT_EXIT_STATUS') == 1 && ($sum_results['FAILED'] || $sum_results['BORKED'])) {
if (getenv('REPORT_EXIT_STATUS') !== '0' &&
getenv('REPORT_EXIT_STATUS') !== 'no' &&
($sum_results['FAILED'] || $sum_results['BORKED'])) {
exit(1);
}
exit(0);