]> granicus.if.org Git - php/commitdiff
make valgrind trace child processes. useful for the PCNTL extension (fork()), for...
authorNuno Lopes <nlopess@php.net>
Mon, 17 Jul 2006 11:43:48 +0000 (11:43 +0000)
committerNuno Lopes <nlopess@php.net>
Mon, 17 Jul 2006 11:43:48 +0000 (11:43 +0000)
run-tests.php

index ab3cb7271a569de5a4c8e9222ef65331304bdca4..8d009b3788367610418b07926ed500654eaf6925 100755 (executable)
@@ -1328,7 +1328,7 @@ TEST $file
        }
 
        if ($leak_check) {
-               $cmd = "valgrind -q --tool=memcheck --log-file-exactly=$memcheck_filename $cmd";
+               $cmd = "valgrind -q --tool=memcheck --trace-children=yes --log-file-exactly=$memcheck_filename $cmd";
        }
 
        if ($DETAILED) echo "