Skip to content

Commit a09754b

Browse files
committed
Temporarily disable imagecreatefromstring_avif.phpt on FreeBSD
This test recently started failing on Cirrus CI, possibly after a libavif update. Disable it until the issue has been investigated, to avoid an always failing job.
1 parent d60e3a2 commit a09754b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ext/gd/tests/imagecreatefromstring_avif.phpt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ imagecreatefromstring() - AVIF format
44
gd
55
--SKIPIF--
66
<?php
7-
if (!(imagetypes() & IMG_AVIF)) {
7+
if (!(imagetypes() & IMG_AVIF)) {
88
die('skip AVIF support required');
9-
}
9+
}
10+
if (str_contains(PHP_OS, "FreeBSD")) {
11+
die("xfail Currently failing on FreeBSD CI");
12+
}
1013
?>
1114
--FILE--
1215
<?php

0 commit comments

Comments
 (0)