summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-08-14 10:29:20 +0000
committerAntony Dovgal <tony2001@php.net>2006-08-14 10:29:20 +0000
commit2f01ddff7fc36768d3f87cd5bf97a44d5379a348 (patch)
tree660d597ff00c6782833a0b3a6149a4f473583337
parentcb9686b0e5a6ac1e745dd4f48e64f55f91dd89aa (diff)
downloadphp-git-2f01ddff7fc36768d3f87cd5bf97a44d5379a348.tar.gz
make sure USE_ZEND_ALLOC is always 1
-rwxr-xr-xrun-tests.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/run-tests.php b/run-tests.php
index 5722186640..060720656b 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1307,7 +1307,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']);
@@ -1318,7 +1318,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 {
@@ -1326,7 +1326,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) {