]> granicus.if.org Git - php/commitdiff
XFAIL test should not be considered as failed
authorXinchen Hui <laruence@php.net>
Sun, 25 Nov 2012 03:46:35 +0000 (11:46 +0800)
committerXinchen Hui <laruence@php.net>
Sun, 25 Nov 2012 03:46:35 +0000 (11:46 +0800)
run-tests.php

index 8527df8d4bd94da6c58a3f170f9133cdc3deaa19..43470d0d8ad571739f9477f5c20960d1e102de06 100755 (executable)
@@ -821,7 +821,7 @@ HELP;
 
                junit_save_xml();
 
-               if (getenv('REPORT_EXIT_STATUS') == 1 and preg_match('/FAILED(?: |$)/', implode(' ', $test_results))) {
+               if (getenv('REPORT_EXIT_STATUS') == 1 and preg_match('/ FAILED(?: |$)/', implode(' ', $test_results))) {
                        exit(1);
                }