From 2188032c830d24f0b100ca0aad0d36b6a07e8b19 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 11 Jul 2024 18:12:38 +0200 Subject: [PATCH] Fix skip condition of gh13082.phpt The test failure is not particularly related to Travis, but rather is caused by the GD font file to only be suitable for platforms where `int` stores 32bit values in little endian byte order. This platform dependence is documented in the source code[1]. Thus we fix the skip condition and skip reason accordingly. An alternative would be to dynamically create the font file just before running the test, but that appears to be overkill. [1] --- ext/gd/tests/gh13082.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gd/tests/gh13082.phpt b/ext/gd/tests/gh13082.phpt index edfca9d850fdc..4289040adf63f 100644 --- a/ext/gd/tests/gh13082.phpt +++ b/ext/gd/tests/gh13082.phpt @@ -3,7 +3,7 @@ GH-13082 - imagefontwidth/height unexpectedly throwing an exception on a valid G --EXTENSIONS-- gd --SKIPIF-- - + --FILE--