commit:     e46f8ba6833c993939aaa7bcc859ef70288dd539
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 11:39:59 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 11:40:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e46f8ba6

dev-ruby/prism: avoid unreliable test

Closes: https://bugs.gentoo.org/948649
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/prism/prism-1.4.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-ruby/prism/prism-1.4.0.ebuild 
b/dev-ruby/prism/prism-1.4.0.ebuild
index 33ff67921cec..2d32b41f8d14 100644
--- a/dev-ruby/prism/prism-1.4.0.ebuild
+++ b/dev-ruby/prism/prism-1.4.0.ebuild
@@ -27,6 +27,10 @@ all_ruby_prepare() {
        # Avoid a dependency on rake-compiler
        sed -e '/PRISM_FFI_BACKEND/ s/$/ and false/' \
                -i Rakefile || die
+
+       # Avoid a test that won't work reliably in our varied build 
environments.
+       sed -e '/test_prism_so_exports_only_the_C_extension_init_function/aomit 
"Not reliable on Gentoo."' \
+               -i test/prism/library_symbols_test.rb || die
 }
 
 each_ruby_prepare() {

Reply via email to