From: Joe Watkins Date: Fri, 2 Mar 2018 12:22:12 +0000 (+0100) Subject: correct condition for leaks in run-tests.php X-Git-Tag: php-7.3.0alpha1~269 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0fe7636084e658c3d00ddb82b8b3d9d7b683d259;p=php correct condition for leaks in run-tests.php --- diff --git a/run-tests.php b/run-tests.php index e22106e964..18685961d4 100644 --- a/run-tests.php +++ b/run-tests.php @@ -997,7 +997,7 @@ if ($html_output) { save_or_mail_results(); junit_save_xml(); -if (getenv('REPORT_EXIT_STATUS') == 1 && ($sum_results['FAILED'] || $sum_results['LEAK'] || $sum_results['LEAKED'])) { +if (getenv('REPORT_EXIT_STATUS') == 1 && ($sum_results['FAILED'] || $sum_results['LEAKED'])) { exit(1); } exit(0);