summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-04-16 17:26:08 +0200
committerHans de Graaff <graaff@gentoo.org>2018-04-16 17:37:18 +0200
commit223965452c551471857bed161b4cb93bb1b7b10a (patch)
tree53e1e4e2c4d6a53dc59e3bee96e2dbb74fffab44 /dev-ruby/rmagick
parentenlightenment.eclass: Remove disbanded enlightenment project (diff)
downloadgentoo-223965452c551471857bed161b4cb93bb1b7b10a.tar.gz
gentoo-223965452c551471857bed161b4cb93bb1b7b10a.tar.bz2
gentoo-223965452c551471857bed161b4cb93bb1b7b10a.zip
dev-ruby/rmagick: avoid failing tests
Avoid tests that fail with newer imagemagick versions. Closes: https://bugs.gentoo.org/648784 Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/rmagick')
-rw-r--r--dev-ruby/rmagick/rmagick-2.16.0.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-ruby/rmagick/rmagick-2.16.0.ebuild b/dev-ruby/rmagick/rmagick-2.16.0.ebuild
index 2861130b276..b2278ca4103 100644
--- a/dev-ruby/rmagick/rmagick-2.16.0.ebuild
+++ b/dev-ruby/rmagick/rmagick-2.16.0.ebuild
@@ -39,7 +39,8 @@ all_ruby_prepare() {
# Avoid some tests that seem to be very dependent on specific
# imagemagick versions. color defs?
sed -i -e '/test_\(gray\|compress_colormap\)/,/^ end/ s:^:#:' test/Image2.rb || die
- sed -i -e '/test_optimize_layers/,/^ end/ s:^:#:' test/ImageList2.rb || die
+ sed -i -e '/test_iterations/,/^ end/ s:^:#:' test/ImageList1.rb || die
+ sed -i -e '/test_\(optimize_layers\|montage\)/,/^ end/ s:^:#:' test/ImageList2.rb || die
sed -i -e '/test_\(background_color\|border_color\|image_type\)/,/^ end/ s:^:#:' test/Image_attributes.rb || die
}