summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2011-09-01 13:06:12 (GMT)
committerHannes Magnusson <bjori@php.net>2011-09-01 13:06:12 (GMT)
commit958326c8434201054e99b8597e8d7365140bd821 (patch)
tree22a7182761fba2b79ffafde1a46c790587b44278 /run-tests.php
parent1f8c94b7e2d522ab9e56c38a6beadc588534e1c3 (diff)
downloadphp-958326c8434201054e99b8597e8d7365140bd821.tar.gz
Move the XFAILED printout way up the list so we can actually notice the really failing ones
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/run-tests.php b/run-tests.php
index 10154fb..2b584e4 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 .= '
=====================================================================