Skip to content

Commit 4e145b9

Browse files
committed
Cater to dynamic xfail
1 parent e8492e5 commit 4e145b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dev/bless_tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
$phpt = file_get_contents($path);
2222
$out = file_get_contents($outPath);
2323

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

0 commit comments

Comments
 (0)