summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-08-22 05:00:51 +0000
committerDmitry Stogov <dmitry@php.net>2006-08-22 05:00:51 +0000
commit3fd1e9c3db0039d7a840134378dfd63e0503e6f0 (patch)
treedd296acb615e81f2c52345fd817f2334f26f7c02 /run-tests.php
parent36dffb8e3bc9e77ee45a064f5dceae9db24571ce (diff)
downloadphp-git-3fd1e9c3db0039d7a840134378dfd63e0503e6f0.tar.gz
Fix "make test" on win32
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/run-tests.php b/run-tests.php
index a7e978ef87..6d1aca85cb 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1330,9 +1330,10 @@ TEST $file
}
if ($leak_check) {
- $cmd = "USE_ZEND_ALLOC=0 valgrind -q --tool=memcheck --trace-children=yes --log-file-exactly=$memcheck_filename $cmd";
+ $env['USE_ZEND_ALLOC'] = '0';
+ $cmd = "valgrind -q --tool=memcheck --trace-children=yes --log-file-exactly=$memcheck_filename $cmd";
} else {
- $cmd = "USE_ZEND_ALLOC=1 ".$cmd;
+ $env['USE_ZEND_ALLOC'] = '1';
}
if ($DETAILED) echo "