Skip to content

Commit

Permalink
Cater to dynamic xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Jul 17, 2021
1 parent c3aeef0 commit bf979a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dev/bless_tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
$phpt = file_get_contents($path);
$out = file_get_contents($outPath);

if (false !== strpos($phpt, '--XFAIL--')) {
if (false !== strpos($phpt, '--XFAIL--') || preg_match('/die\([\'"]xfail/', $phpt)) {
// Don't modify expected output of XFAIL tests
continue;
}
Expand Down

0 comments on commit bf979a4

Please sign in to comment.