nlopess         Mon Jul 17 11:43:48 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    run-tests.php 
  Log:
  make valgrind trace child processes. useful for the PCNTL extension (fork()), 
for example
  
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.6&r2=1.226.2.37.2.7&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.37.2.6 
php-src/run-tests.php:1.226.2.37.2.7
--- php-src/run-tests.php:1.226.2.37.2.6        Mon Jul 17 10:48:11 2006
+++ php-src/run-tests.php       Mon Jul 17 11:43:48 2006
@@ -23,7 +23,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: run-tests.php,v 1.226.2.37.2.6 2006/07/17 10:48:11 nlopess Exp $ */
+/* $Id: run-tests.php,v 1.226.2.37.2.7 2006/07/17 11:43:48 nlopess Exp $ */
 
 /* Sanity check to ensure that pcre extension needed by this script is 
available.
  * In the event it is not, print a nice error message indicating that this 
script will
@@ -397,7 +397,7 @@
                                        $html_output = is_resource($html_file);
                                        break;
                                case '--version':
-                                       echo '$Revision: 1.226.2.37.2.6 $'."\n";
+                                       echo '$Revision: 1.226.2.37.2.7 $'."\n";
                                        exit(1);
                                default:
                                        echo "Illegal switch '$switch' 
specified!\n";
@@ -1328,7 +1328,7 @@
        }
 
        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 "

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to