]> granicus.if.org Git - php/commitdiff
MFH: Print out WARNed
authorHannes Magnusson <bjori@php.net>
Mon, 18 May 2009 14:08:56 +0000 (14:08 +0000)
committerHannes Magnusson <bjori@php.net>
Mon, 18 May 2009 14:08:56 +0000 (14:08 +0000)
run-tests.php

index 5d5eaeb65a2b57e54fee8c0ae97745833809217b..b7c4333fba53f3920a4bdfef226d339ce99c78ae 100755 (executable)
@@ -2254,6 +2254,19 @@ EXPECTED FAILED TEST SUMMARY
                $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 .= '
 =====================================================================