summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2009-05-18 14:07:59 +0000
committerHannes Magnusson <bjori@php.net>2009-05-18 14:07:59 +0000
commit34907a2aaa3cdc9d1e96538c758ca6862d7a0046 (patch)
tree1485b62cdbdc46e252da709e2a3eff7e6b91fb82 /run-tests.php
parent9cbd6d638cc9d9c79af10ea7c2fa239125fa7e1e (diff)
downloadphp-git-34907a2aaa3cdc9d1e96538c758ca6862d7a0046.tar.gz
Print out the WARNed section (contains f.e. passing XFAIL tests)
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php13
1 files changed, 13 insertions, 0 deletions
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 .= '
=====================================================================