tony2001 Tue Dec 20 16:17:30 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src run-tests.php
Log:
fix notice
http://cvs.php.net/viewcvs.cgi/php-src/run-tests.php?r1=1.226.2.17&r2=1.226.2.18&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.17 php-src/run-tests.php:1.226.2.18
--- php-src/run-tests.php:1.226.2.17 Sun Dec 18 15:47:07 2005
+++ php-src/run-tests.php Tue Dec 20 16:17:30 2005
@@ -23,7 +23,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.226.2.17 2005/12/18 15:47:07 helly Exp $ */
+/* $Id: run-tests.php,v 1.226.2.18 2005/12/20 16:17:30 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
@@ -333,7 +333,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.226.2.17 $'."\n";
+ echo '$Revision: 1.226.2.18 $'."\n";
exit(1);
default:
echo "Illegal switch '$switch'
specified!\n";
@@ -1503,7 +1503,7 @@
$x_leaked = (100.0 * $sum_results['LEAKED']) / $x_total;
$x_passed = (100.0 * $sum_results['PASSED']) / $x_total;
} else {
- $x_warned = $x_failed = $x_passed = 0;
+ $x_warned = $x_failed = $x_passed = $x_leaked = 0;
}
$summary = "";
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php