From: Hannes Magnusson Date: Thu, 1 Sep 2011 13:06:12 +0000 (+0000) Subject: Move the XFAILED printout way up the list so we can actually notice the really failin... X-Git-Tag: php-5.5.0alpha1~1390 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33fed1066cd6e5a76cc6e78d41567cbff699e4b1;p=php Move the XFAILED printout way up the list so we can actually notice the really failing ones --- diff --git a/run-tests.php b/run-tests.php index 10154fb0ee..2b584e49c6 100755 --- a/run-tests.php +++ b/run-tests.php @@ -2305,6 +2305,18 @@ Time taken : ' . sprintf('%4d seconds', $end_time - $start_time) . ' '; $failed_test_summary = ''; + if (count($PHP_FAILED_TESTS['XFAILED'])) { + $failed_test_summary .= ' +===================================================================== +EXPECTED FAILED TEST SUMMARY +--------------------------------------------------------------------- +'; + foreach ($PHP_FAILED_TESTS['XFAILED'] 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['BORKED'])) { $failed_test_summary .= ' ===================================================================== @@ -2329,18 +2341,6 @@ FAILED TEST SUMMARY } $failed_test_summary .= "=====================================================================\n"; } - if (count($PHP_FAILED_TESTS['XFAILED'])) { - $failed_test_summary .= ' -===================================================================== -EXPECTED FAILED TEST SUMMARY ---------------------------------------------------------------------- -'; - foreach ($PHP_FAILED_TESTS['XFAILED'] 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['WARNED'])) { $failed_test_summary .= ' =====================================================================