bjori           Mon May 18 14:08:56 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    run-tests.php 
  Log:
  MFH: Print out WARNed
  
  
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.63&r2=1.226.2.37.2.64&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.37.2.63 
php-src/run-tests.php:1.226.2.37.2.64
--- php-src/run-tests.php:1.226.2.37.2.63       Sat Apr 25 17:12:11 2009
+++ php-src/run-tests.php       Mon May 18 14:08:56 2009
@@ -24,7 +24,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: run-tests.php,v 1.226.2.37.2.63 2009/04/25 17:12:11 jani Exp $ */
+/* $Id: run-tests.php,v 1.226.2.37.2.64 2009/05/18 14:08:56 bjori 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
@@ -633,7 +633,7 @@
                                        $html_output = is_resource($html_file);
                                        break;
                                case '--version':
-                                       echo '$Revision: 1.226.2.37.2.63 $' . 
"\n";
+                                       echo '$Revision: 1.226.2.37.2.64 $' . 
"\n";
                                        exit(1);
 
                                default:
@@ -2254,6 +2254,19 @@
                $failed_test_summary .=  
"=====================================================================\n";
        }
 
+       if (count($PHP_FAILED_TESTS['WARNED'])) {
+               $failed_test_summary .= '
+=====================================================================
+WARNED TEST SUMMARY
+---------------------------------------------------------------------
+';
+               foreach ($PHP_FAILED_TESTS['WARNED'] as $failed_test_data) {
+                       $failed_test_summary .= $failed_test_data['test_name'] 
. $failed_test_data['info'] . "\n";
+               }
+
+               $failed_test_summary .=  
"=====================================================================\n";
+       }
+
        if (count($PHP_FAILED_TESTS['LEAKED'])) {
                $failed_test_summary .= '
 =====================================================================



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

Reply via email to