From: Antony Dovgal Date: Wed, 26 Jul 2006 11:11:11 +0000 (+0000) Subject: turn Off Zend MM and check for leaks when running tests through valgrind X-Git-Tag: php-5.2.0RC2~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4038877d85c90469fc51d6cca6b31e4bc442b134;p=php turn Off Zend MM and check for leaks when running tests through valgrind --- diff --git a/run-tests.php b/run-tests.php index 8d009b3788..5d98d0bea1 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1328,7 +1328,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 "