Commit c1de8d50 authored by Natanael Copa's avatar Natanael Copa

main/imagemagic: disable flaky test

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
parent b0aea1e5
......@@ -17,7 +17,8 @@ makedepends="zlib-dev libpng-dev libjpeg-turbo-dev freetype-dev fontconfig-dev
libheif-dev"
checkdepends="freetype fontconfig ghostscript ghostscript-fonts lcms2 graphviz"
subpackages="$pkgname-doc $pkgname-dev $pkgname-c++:_cxx $pkgname-libs $pkgname-perlmagick:_perlmagick $pkgname-perlmagick-doc:_perlmagick_doc"
source="https://www.imagemagick.org/download/releases/ImageMagick-$_pkgver.tar.xz"
source="https://www.imagemagick.org/download/releases/ImageMagick-$_pkgver.tar.xz
disable-avaraging-tests.patch"
builddir="$srcdir/ImageMagick-${_pkgver}"
# secfixes:
......@@ -103,4 +104,5 @@ _perlmagick_doc() {
make -j1 DESTDIR="$subpkgdir" doc_vendor_install
}
sha512sums="8dd4a45f4d95d949bcd797f44d1602a3767386ee7d73888fb8a1ee6d4d8be7c4881a88262e7261a253da6f4b3c8ac9442d5eacb44e267e2d25e11bda10b12526 ImageMagick-7.0.8-49.tar.xz"
sha512sums="8dd4a45f4d95d949bcd797f44d1602a3767386ee7d73888fb8a1ee6d4d8be7c4881a88262e7261a253da6f4b3c8ac9442d5eacb44e267e2d25e11bda10b12526 ImageMagick-7.0.8-49.tar.xz
58afb2da075a6208b6a990ff297b3a827d260687c3355198a8b4d987e1596c0b0cd78aff6f0be0e1896e537fbe44a3d467473183f5f149664ea6e6fb3d3291a9 disable-avaraging-tests.patch"
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment