Print out the WARNed section (contains f.e. passing XFAIL tests)

This commit is contained in:
Hannes Magnusson 2009-05-18 14:07:59 +00:00
parent 9cbd6d638c
commit 34907a2aaa

View File

@ -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 .= '
=====================================================================