From 731f3fc2a3defe16bb77cf080fff9acf76ef1b97 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Wed, 2 May 2007 15:25:32 +0000 Subject: [PATCH] make USE_ZEND_ALLOC env var available in SKIPIF section --- run-tests.php | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.50.1