]> granicus.if.org Git - php/commitdiff
turn Off Zend MM and check for leaks when running tests through valgrind
authorAntony Dovgal <tony2001@php.net>
Wed, 26 Jul 2006 11:11:04 +0000 (11:11 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 26 Jul 2006 11:11:04 +0000 (11:11 +0000)
run-tests.php

index 879e364c0eac940d787b14a7582198197f951da2..024e296147e753daba55e857529d46a06203ea02 100755 (executable)
@@ -1381,7 +1381,7 @@ TEST $file
        }
 
        if ($leak_check) {
-               $cmd = "valgrind -q --tool=memcheck --trace-children=yes --log-file-exactly=$memcheck_filename $cmd";
+               $cmd = "USE_ZEND_ALLOC=0 valgrind -q --tool=memcheck --trace-children=yes --leak-check=yes --log-file-exactly=$memcheck_filename $cmd";
        }
 
        if ($DETAILED) echo "