diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-16 17:26:08 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-16 17:37:18 +0200 |
commit | 223965452c551471857bed161b4cb93bb1b7b10a (patch) | |
tree | 53e1e4e2c4d6a53dc59e3bee96e2dbb74fffab44 /dev-ruby | |
parent | enlightenment.eclass: Remove disbanded enlightenment project (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-ruby/rmagick/rmagick-2.16.0.ebuild | 3 |
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 2861130b2769..b2278ca41038 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 } |