Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Set tests exit status by default.
This commit is contained in:
Stanislav Malyshev 2018-03-18 15:06:08 -07:00
commit 077b7705af

View File

@ -876,7 +876,9 @@ HELP;
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);
}