From: Dmitry Stogov Date: Tue, 22 Aug 2006 05:01:15 +0000 (+0000) Subject: Fixed "make test" on win32 X-Git-Tag: RELEASE_1_0_0RC1~1919 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a66ef533c174f98caec7782ec9bd7599ea1e7e8;p=php Fixed "make test" on win32 --- diff --git a/run-tests.php b/run-tests.php index ad182db8a0..80e6705fe4 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1383,9 +1383,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 "