summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-07-26 11:11:11 +0000
committerAntony Dovgal <tony2001@php.net>2006-07-26 11:11:11 +0000
commit4038877d85c90469fc51d6cca6b31e4bc442b134 (patch)
treedcfb3cb86d4f55bdd9678f230481b9c55e952db2
parent5e0f6ea7dbd3a730d18363c2bd464451773e2733 (diff)
downloadphp-git-4038877d85c90469fc51d6cca6b31e4bc442b134.tar.gz
turn Off Zend MM and check for leaks when running tests through valgrind
-rwxr-xr-xrun-tests.php2
1 files changed, 1 insertions, 1 deletions
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 "