Re: com php-src: Merge branch 'PHP-7.0' into PHP-7.1:ext/gd/tests/bug48801-mb.phpt
| From: | Christoph M. Becker | Date: | Wed, 21 Sep 2016 12:27:17 +0000 |
| Subject: | Re: com php-src: Merge branch 'PHP-7.0' into PHP-7.1:ext/gd/tests/bug48801-mb.phpt | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-94608@lists.php.net to get a copy of this message | ||
Hi Matteo!
On 21.09.2016 at 12:05, Matteo Beccati wrote:
> Hi Christoph,
>
> new failures since yesterday's PR merge.
>
>
> https://revive.beccati.com/bamboo/browse/PHP-SRC-938/#new-failed-tests
Thanks! (Even though these freetype issues are driving me crazy.)
> Not even sure skipping tests like this is ok either.
No, it's not okay in the long run. I've just did it so other committers
won't be irritated, until I found time to investigate, which hopefully
will be today. :-)
Cheers,
Christoph
> Cheers
>
> On 20/09/2016 12:18, Christoph Michael Becker wrote:
>> Commit: 7e21cb0c9963d5040b859c4a8b9f9ae2f3cbc9d0
>> Author: Christoph M. Becker <cmbecker69@gmx.de> Tue, 20 Sep
>> 2016 12:17:06 +0200
>> Parents: 64a8048c53984bf03baab948bdb1166eed7acc72
>> eeb9113b6c0b5375ef14e1cc19cfe196b5813cbe
>> Branches: PHP-7.1 master
>>
>> Link:
>>
>> http://git.php.net/?p=php-src.git;a=commitdiff;h=7e21cb0c9963d5040b859c4a8b9f9ae2f3cbc9d0
>>
>>
>> Log:
>> Merge branch 'PHP-7.0' into PHP-7.1
>>
>> Changed paths:
>> MA ext/gd/tests/bug48801-mb.phpt
>>
>>
>> Diff:
>> diff --cc ext/gd/tests/bug48801-mb.phpt
>> index cbd7624,0000000..6a31cf1
>> mode 100644,000000..100644
>> --- a/ext/gd/tests/bug48801-mb.phpt
>> +++ b/ext/gd/tests/bug48801-mb.phpt
>> @@@ -1,25 -1,0 +1,27 @@@
>> +--TEST--
>> +Bug #48801 (Problem with imagettfbbox) freetype < 2.4.10
>> +--SKIPIF--
>> +<?php
>> + if(!extension_loaded('gd')){ die('skip gd extension not
>> available'); }
>> + if(!function_exists('imageftbbox')) die('skip imageftbbox() not
>> available');
>> +
>> + include dirname(__FILE__) . '/func.inc';
>> + if(version_compare(get_freetype_version(), '2.4.10') >= 0)
>> die('skip for freetype < 2.4.10');
>> ++
>> ++ die('skip freetype issues');
>> +?>
>> +--FILE--
>> +<?php
>> +$cwd = dirname(__FILE__);
>> +$font = "$cwd/Tuffy私はガラスを食べられます.ttf";
>> +$bbox = imageftbbox(50, 0, $font, "image");
>> +echo '(' . $bbox[0] . ', ' . $bbox[1] . ")\n";
>> +echo '(' . $bbox[2] . ', ' . $bbox[3] . ")\n";
>> +echo '(' . $bbox[4] . ', ' . $bbox[5] . ")\n";
>> +echo '(' . $bbox[6] . ', ' . $bbox[7] . ")\n";
>> +?>
>> +--EXPECTF--
>> +(-1, 15)
>> +(15%d, 15)
>> +(15%d, -48)
>> +(-1, -48)
>>
>>
>
>