summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-02-07 08:33:24 +0100
committerHans de Graaff <graaff@gentoo.org>2024-02-07 08:36:19 +0100
commit231fa7834f98429b958491cade47bce89a9e0461 (patch)
tree18955f676878011fe4664b642959a5bbfe76d765
parentapp-i18n/fcitx-anthy: fix icon collisions between slot 4 and 5 (diff)
downloadgentoo-231fa7834f98429b958491cade47bce89a9e0461.tar.gz
gentoo-231fa7834f98429b958491cade47bce89a9e0461.tar.bz2
gentoo-231fa7834f98429b958491cade47bce89a9e0461.zip
dev-ruby/rmagick: avoid broken tests
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/rmagick/rmagick-5.3.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ruby/rmagick/rmagick-5.3.0.ebuild b/dev-ruby/rmagick/rmagick-5.3.0.ebuild
index b0939b594a0f..56c9075a402e 100644
--- a/dev-ruby/rmagick/rmagick-5.3.0.ebuild
+++ b/dev-ruby/rmagick/rmagick-5.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -45,6 +45,10 @@ all_ruby_prepare() {
# Squelch harmless warning about imagemagick installation.
sed -i -e '/prefix/ s:ImageMagick:ImageMagick-6:' ext/RMagick/extconf.rb || die
+ # Avoid some tests that fails due to minor implementation changes in
+ # imagemagick.
+ rm -f spec/rmagick/class_methods/limit_resources_spec.rb spec/rmagick/image/gamma_spec.rb || die
+
# Create directory used for a test
mkdir tmp
}