Skip to content

Commit

Permalink
Temporarily disable imagecreatefromstring_avif.phpt on FreeBSD
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nikic committed Jul 9, 2021
1 parent d60e3a2 commit a09754b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ext/gd/tests/imagecreatefromstring_avif.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ imagecreatefromstring() - AVIF format
gd
--SKIPIF--
<?php
if (!(imagetypes() & IMG_AVIF)) {
if (!(imagetypes() & IMG_AVIF)) {
die('skip AVIF support required');
}
}
if (str_contains(PHP_OS, "FreeBSD")) {
die("xfail Currently failing on FreeBSD CI");
}
?>
--FILE--
<?php
Expand Down

0 comments on commit a09754b

Please sign in to comment.