aboutsummaryrefslogtreecommitdiffstats
path: root/main/imagemagick/disable-avaraging-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/imagemagick/disable-avaraging-tests.patch')
-rw-r--r--main/imagemagick/disable-avaraging-tests.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/imagemagick/disable-avaraging-tests.patch b/main/imagemagick/disable-avaraging-tests.patch
new file mode 100644
index 0000000000..8e715f81e6
--- /dev/null
+++ b/main/imagemagick/disable-avaraging-tests.patch
@@ -0,0 +1,26 @@
+The avaraging tests seems to be flaky due to rounding errors. Test fails on
+x86 and s390x
+
+https://github.com/ImageMagick/ImageMagick/issues/1576#issuecomment-494595404
+
+diff --git a/Magick++/tests/tests.tap b/Magick++/tests/tests.tap
+index b5c15ff..bb83980 100755
+--- a/Magick++/tests/tests.tap
++++ b/Magick++/tests/tests.tap
+@@ -8,14 +8,14 @@
+ #
+ subdir=Magick++/tests
+ . ./common.shi
+-echo "1..13"
++echo "1..12"
+
+ SRCDIR=${top_srcdir}/${subdir}/
+ export SRCDIR
+
+ cd ${subdir} || exit 1
+
+-for mytest in appendImages attributes averageImages coalesceImages coderInfo color colorHistogram exceptions geometry montageImages morphImages readWriteBlob readWriteImages
++for mytest in appendImages attributes coalesceImages coderInfo color colorHistogram exceptions geometry montageImages morphImages readWriteBlob readWriteImages
+ do
+ ./${mytest} && echo "ok" || echo "not ok"
+ done