Bug #72557 [Asn]: Failing GD tests for external libgd builds
Edit report at https://bugs.php.net/bug.php?id=72557&edit=1
ID: 72557
Updated by: cmb@php.net
Reported by: cmb@php.net
Summary: Failing GD tests for external libgd builds
Status: Assigned
Type: Bug
Package: Testing related
Operating System: Linux
PHP Version: 5.6Git-2016-07-07 (Git)
-Assigned To: cmb
+Assigned To:
Block user comment: N
Private report: N
New Comment:
Unassigning myself for time reasons. :(
Previous Comments:
------------------------------------------------------------------------
[2016-08-17 17:01:10] cmb@php.net
First step: <http://git.php.net/?p=php-src.git;a=commit;h=a3159d29bb24d5c946c14b7aa33e96bebcd56e59>.
------------------------------------------------------------------------
[2016-07-08 10:42:31] cmb@php.net
Indeed, with libgd-2.2.2 apparently there are no segfaulting
tests. It's probably best to skip/xfail these tests for libgd-2.1,
because that version seems still to be in widespread use, and
users running the test suite would experience a high failure rate.
I'll have a look at it.
------------------------------------------------------------------------
[2016-07-08 05:00:53] pajoye@php.net
I would try with 2.2.2 as many fixes in bundled gd are in 2.2 as well but not in 2.1.
The rounding issues wille be solved in 7.1 by using 2.2.x.
Also some tests may be due to different architecture.
------------------------------------------------------------------------
[2016-07-07 12:40:22] cmb@php.net
Description:
------------
I just noticed that lots of ext/gd/tests/*.phpt fail when PHP is
built with an external libgd-2.1.1 (I have not checked yet with
other libgd versions, but I suppose there are issues, too). A
quick check showed different reasons:
1) slight image differences (due to rounding/different
implementation?)
2) (slightly) different warning messages
3) segfaults and/or memory leaks
While (1) and (2) are "only" annoying, (3) seems to be a serious
issue. Nonetheless, all failing tests should be adjusted (at the
very least (1) and (2) should be skipped for external libgd
builds).
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72557&edit=1
Thread (5 messages)