commit:     223965452c551471857bed161b4cb93bb1b7b10a
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 16 15:26:08 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Apr 16 15:37:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22396545

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

 dev-ruby/rmagick/rmagick-2.16.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
 }
 

Reply via email to