diff options
-rwxr-xr-x | run-tests.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/run-tests.php b/run-tests.php index c7ab0410da..8753f6e828 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1787,13 +1787,13 @@ COMMAND $cmd } if (!$leaked && !$failed_headers) { - if (isset($section_text['XFAIL'] )) { - $warn = true; - $info = " (warn: XFAIL section but test passes)"; - }else { - show_result("PASS", $tested, $tested_file, '', $temp_filenames); - return 'PASSED'; - } + if (isset($section_text['XFAIL'] )) { + $warn = true; + $info = " (warn: XFAIL section but test passes)"; + }else { + show_result("PASS", $tested, $tested_file, '', $temp_filenames); + return 'PASSED'; + } } } @@ -1816,13 +1816,13 @@ COMMAND $cmd } if (!$leaked && !$failed_headers) { - if (isset($section_text['XFAIL'] )) { - $warn = true; - $info = " (warn: XFAIL section but test passes)"; - }else { - show_result("PASS", $tested, $tested_file, '', $temp_filenames); - return 'PASSED'; - } + if (isset($section_text['XFAIL'] )) { + $warn = true; + $info = " (warn: XFAIL section but test passes)"; + }else { + show_result("PASS", $tested, $tested_file, '', $temp_filenames); + return 'PASSED'; + } } } |