From: Hannes Magnusson Date: Mon, 18 May 2009 14:07:59 +0000 (+0000) Subject: Print out the WARNed section (contains f.e. passing XFAIL tests) X-Git-Tag: php-5.4.0alpha1~191^2~3623 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34907a2aaa3cdc9d1e96538c758ca6862d7a0046;p=php Print out the WARNed section (contains f.e. passing XFAIL tests) --- 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 .= ' =====================================================================