Source: php-imagick
Version: 3.4.0~rc6-2
Severity: important
Tags: patch

Dear Maintainer,

php-imagick's autopkgtests currently fail, due to some missing steps to
properly run phpunit and missing test dependencies.

P.S. Additionally, two imagemagick bugs need fixing in order to fully pass
the tests  (#811308 which is marked fixed but the included backport is
missing key fixes from upstream; and a bug I just filed to backport a
fix for a segfault [will update this bug with that # once I've received
it].
diff -Nru php-imagick-3.4.0~rc6/debian/changelog php-imagick-3.4.0~rc6/debian/changelog
--- php-imagick-3.4.0~rc6/debian/changelog	2016-02-29 13:17:05.000000000 -0800
+++ php-imagick-3.4.0~rc6/debian/changelog	2016-03-04 08:56:40.000000000 -0800
@@ -1,3 +1,15 @@
+php-imagick (3.4.0~rc6-3) unstable; urgency=medium
+
+  * Fix failures in autopkgtests (LP: #1549942)
+    - d/tests/control: run phpunit from tests/ subdirectory to pick up
+      the SKIP helper.
+    - d/tests/control: limit imagemagick to 1 thread to avoid openmp
+      related segfaults.
+    - d/tests/control: add gsfonts and libmagickcore-6.q16-2-extra as
+      test dependencies.
+
+ -- Nishanth Aravamudan <nish.aravamu...@canonical.com>  Fri, 04 Mar 2016 08:55:49 -0800
+
 php-imagick (3.4.0~rc6-2) unstable; urgency=medium
 
   * Force rebuild with dh_php >= 0.7
diff -Nru php-imagick-3.4.0~rc6/debian/tests/control php-imagick-3.4.0~rc6/debian/tests/control
--- php-imagick-3.4.0~rc6/debian/tests/control	2016-02-29 13:17:05.000000000 -0800
+++ php-imagick-3.4.0~rc6/debian/tests/control	2016-03-04 08:55:08.000000000 -0800
@@ -1,2 +1,2 @@
-Test-Command: cd imagick-* && phpunit --verbose tests
-Depends: php5-cli, php5-imagick, phpunit
+Test-Command: cd imagick-*/tests && MAGICK_THREAD_LIMIT=1 phpunit --verbose .
+Depends: php-cli, php-imagick, gsfonts, libmagickcore-6.q16-2-extra, phpunit

Reply via email to