Commit b51f575ba1a for php.net
commit b51f575ba1a15f426c1356b104a9a8b1084029d6
Author: Michael Orlitzky <michael@orlitzky.com>
Date: Sun Jul 12 19:21:54 2026 -0400
ext/gd/tests/gh19{666,739}.phpt: skip for external libgd
These two are regression tests for the bundled libgd, we have to skip
them if an external libgd is used.
close GH-22711
diff --git a/ext/gd/tests/gh19666.phpt b/ext/gd/tests/gh19666.phpt
index 2d82b9b4476..b1409946aa0 100644
--- a/ext/gd/tests/gh19666.phpt
+++ b/ext/gd/tests/gh19666.phpt
@@ -2,6 +2,10 @@
GH-19666 (Unexpected nan value in imageconvolution)
--EXTENSIONS--
gd
+--SKIPIF--
+<?php
+ if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+?>
--FILE--
<?php
$image = imagecreatetruecolor(180, 30);
diff --git a/ext/gd/tests/gh19739.phpt b/ext/gd/tests/gh19739.phpt
index 7dce387b780..7ef73aeab67 100644
--- a/ext/gd/tests/gh19739.phpt
+++ b/ext/gd/tests/gh19739.phpt
@@ -2,6 +2,10 @@
GH-19739 (integer overflow in imageellipse / imagefilledellipse)
--EXTENSIONS--
gd
+--SKIPIF--
+<?php
+ if (!GD_BUNDLED) die("skip requires bundled GD library\n");
+?>
--FILE--
<?php
$im = imagecreatetruecolor(400, 300);