From: Hannes Magnusson Date: Mon, 18 May 2009 14:08:23 +0000 (+0000) Subject: MFH: Print out the WARNed section X-Git-Tag: php-5.3.0RC3~220 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82c49a50f462e66af48ec7e25340f950beeb0ba8;p=php MFH: Print out the WARNed section --- diff --git a/run-tests.php b/run-tests.php index 5d5eaeb65a..b7c4333fba 100755 --- a/run-tests.php +++ b/run-tests.php @@ -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 .= ' =====================================================================