From: Antony Dovgal Date: Wed, 2 May 2007 15:25:32 +0000 (+0000) Subject: make USE_ZEND_ALLOC env var available in SKIPIF section X-Git-Tag: RELEASE_1_2_0~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=731f3fc2a3defe16bb77cf080fff9acf76ef1b97;p=php make USE_ZEND_ALLOC env var available in SKIPIF section --- diff --git a/run-tests.php b/run-tests.php index 5306778abc..eadc614627 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1215,6 +1215,12 @@ TEST $file $ini_settings .= " -dunicode.semantics=" . (int)$unicode_test; + if ($leak_check) { + $env['USE_ZEND_ALLOC'] = '0'; + } else { + $env['USE_ZEND_ALLOC'] = '1'; + } + $output = system_with_timeout("$extra $php -q $ini_settings $test_skipif", $env); if (!$cfg['keep']['skip']) { @unlink($test_skipif);