tony2001 Wed Jul 26 11:11:05 2006 UTC
Modified files:
/php-src run-tests.php
Log:
turn Off Zend MM and check for leaks when running tests through valgrind
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.298&r2=1.299&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.298 php-src/run-tests.php:1.299
--- php-src/run-tests.php:1.298 Sat Jul 22 13:12:19 2006
+++ php-src/run-tests.php Wed Jul 26 11:11:04 2006
@@ -23,7 +23,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.298 2006/07/22 13:12:19 rrichards Exp $ */
+/* $Id: run-tests.php,v 1.299 2006/07/26 11:11:04 tony2001 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
@@ -400,7 +400,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.298 $'."\n";
+ echo '$Revision: 1.299 $'."\n";
exit(1);
default:
echo "Illegal switch specified!\n";
@@ -1381,7 +1381,7 @@
}
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 "
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php