]> granicus.if.org Git - php/commitdiff
Fixed "make test" on win32
authorDmitry Stogov <dmitry@php.net>
Tue, 22 Aug 2006 05:01:15 +0000 (05:01 +0000)
committerDmitry Stogov <dmitry@php.net>
Tue, 22 Aug 2006 05:01:15 +0000 (05:01 +0000)
run-tests.php

index ad182db8a0986d137f5cb6b5b199a3659b1e250b..80e6705fe437481cafb5773469104811f643dd2f 100755 (executable)
@@ -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 "