Skip to content

Commit 0121b83

Browse files
committed
ext/gd/tests/gh17349.phpt: require PNG support
This test loads a PNG image, so if an external libgd is being used, it has to support PNG.
1 parent 02c2a50 commit 0121b83

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ext/gd/tests/gh17349.phpt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
GH-17349 (Tiled truecolor filling looses single color transparency)
33
--EXTENSIONS--
44
gd
5+
--SKIPIF--
6+
<?php
7+
if (!(imagetypes() & IMG_PNG)) {
8+
die("skip No PNG support");
9+
}
10+
?>
511
--FILE--
612
<?php
713
require_once __DIR__ . "/func.inc";

0 commit comments

Comments
 (0)