[wp-trac] [WordPress Trac] #40537: PDF tests cannot be tested on Travis

WordPress Trac noreply at wordpress.org
Thu May 11 19:01:25 UTC 2017


#40537: PDF tests cannot be tested on Travis
------------------------------------+------------------------------
 Reporter:  johnbillion             |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Media                   |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by gitlost):

 After setting up a Precise virtualbox locally, traced
 `test_image_preserves_alpha_on_rotate` back (laboriously) to failing on
 ImageMagick 6.6.9-10 and working on ImageMagick 6.7.0-10, so it's an
 ImageMagick bug, perhaps connected with [http://www.imagemagick.org
 /discourse-server/viewtopic.php?f=3&t=18900], though it's hard to tell
 with old pre-git ImageMagick stuff.

 I couldn't reproduce the media-command behat seg faults, which was
 disappointing, but typical for memory bugs I suppose.

 See [https://github.com/gitlost/wordpress-develop/pull/1] for a version
 that runs Imagick for all PHP versions, with a variety of ImageMagick
 versions ranging from 6.5.4-10 to 6.9.7-10, chosen to hit various issues
 and cover some of the hoary versions out in the field as mentioned in eg
 #36534. It skips `test_image_preserves_alpha_on_rotate` if the ImageMagick
 version is < 6.7.0-10, and skips various ImageEditor tests for PHP 5.2
 that use `ReflectionProperty::setAccessible()`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40537#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list