From 37bb1c39a9c3ab005ef45c45566b7adc30e633b3 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 8 May 2026 13:39:48 -0400 Subject: [PATCH] ext/gd: fix gh16559 and gh17349 tests ext/gd/tests/gh16559.phpt: skip when using an external libgd This is a test for a bugfix in the bundled libgd. 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. close GH-21987 --- ext/gd/tests/gh16559.phpt | 7 +++++++ ext/gd/tests/gh17349.phpt | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/ext/gd/tests/gh16559.phpt b/ext/gd/tests/gh16559.phpt index 4481311c4c45..2bb5bab05642 100644 --- a/ext/gd/tests/gh16559.phpt +++ b/ext/gd/tests/gh16559.phpt @@ -2,6 +2,13 @@ GH-16559 (UBSan abort in ext/gd/libgd/gd_interpolation.c:1007) --EXTENSIONS-- gd +--SKIPIF-- + --FILE-- --FILE--