summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2009-05-18 14:08:23 (GMT)
committerHannes Magnusson <bjori@php.net>2009-05-18 14:08:23 (GMT)
commit82c49a50f462e66af48ec7e25340f950beeb0ba8 (patch)
tree750a4bca0e1b243126fc406fefc2e0dfa6e0390e /run-tests.php
parentebf4c8ddb83a7ce7a9b5a439e94af3c6227b07a7 (diff)
downloadphp-82c49a50f462e66af48ec7e25340f950beeb0ba8.tar.gz
MFH: Print out the WARNed section
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 5d5eaeb..b7c4333 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 .= '
=====================================================================