From: Antony Dovgal Date: Mon, 14 Aug 2006 10:29:10 +0000 (+0000) Subject: make sure USE_ZEND_ALLOC is always 1 when running tests without -m X-Git-Tag: RELEASE_1_0_0RC1~1971 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59385f39b6bec35892cf68df9e8c2e5d3decc8dc;p=php make sure USE_ZEND_ALLOC is always 1 when running tests without -m --- diff --git a/run-tests.php b/run-tests.php index 34dc8b9f86..212943e812 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1360,7 +1360,7 @@ TEST $file return 'BORKED'; } save_text($tmp_post, $request); - $cmd = "$php$pass_options$ini_settings -f \"$test_file\" 2>&1 < $tmp_post"; + $cmd = "USE_ZEND_ALLOC=1 $php$pass_options$ini_settings -f \"$test_file\" 2>&1 < $tmp_post"; } elseif (array_key_exists('POST', $section_text) && !empty($section_text['POST'])) { $post = trim($section_text['POST']); @@ -1371,7 +1371,7 @@ TEST $file $env['CONTENT_TYPE'] = 'application/x-www-form-urlencoded'; $env['CONTENT_LENGTH'] = $content_length; - $cmd = "$php$pass_options$ini_settings -f \"$test_file\" 2>&1 < $tmp_post"; + $cmd = "USE_ZEND_ALLOC=1 $php$pass_options$ini_settings -f \"$test_file\" 2>&1 < $tmp_post"; } else { @@ -1379,7 +1379,7 @@ TEST $file $env['CONTENT_TYPE'] = ''; $env['CONTENT_LENGTH'] = ''; - $cmd = "$php$pass_options$ini_settings -f \"$test_file\" $args 2>&1"; + $cmd = "USE_ZEND_ALLOC=1 $php$pass_options$ini_settings -f \"$test_file\" $args 2>&1"; } if ($leak_check) {