Skip to content

Commit 11c946e

Browse files
committed
XFAIL test should not be considered as failed
1 parent 4d804aa commit 11c946e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ function save_or_mail_results()
821821

822822
junit_save_xml();
823823

824-
if (getenv('REPORT_EXIT_STATUS') == 1 and preg_match('/FAILED(?: |$)/', implode(' ', $test_results))) {
824+
if (getenv('REPORT_EXIT_STATUS') == 1 and preg_match('/ FAILED(?: |$)/', implode(' ', $test_results))) {
825825
exit(1);
826826
}
827827

0 commit comments

Comments
 (0)