]> granicus.if.org Git - php/commitdiff
Move the XFAILED printout way up the list so we can actually notice the really failin...
authorHannes Magnusson <bjori@php.net>
Thu, 1 Sep 2011 13:06:12 +0000 (13:06 +0000)
committerHannes Magnusson <bjori@php.net>
Thu, 1 Sep 2011 13:06:12 +0000 (13:06 +0000)
run-tests.php

index 10154fb0eee10feee57a4dfb796b8f98e4b5e47f..2b584e49c6a560eb0582dc1228cd61484b8214cc 100755 (executable)
@@ -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 .= '
 =====================================================================