From 7fb19cf8035cb3e4209c93c70a224382e4c8ee6f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 1 Jul 2025 16:57:26 +0900 Subject: [PATCH] Partly picked from https://github.com/ruby/ruby/pull/10073 --- test/ruby/test_exception.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index b3951c7e51..b1d671e2e4 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -1460,6 +1460,7 @@ $stderr = $stdout; raise "\x82\xa0"') do |outs, errs, status| end def test_detailed_message_under_gc_compact_stress + omit "compaction doesn't work well on s390x" if RUBY_PLATFORM =~ /s390x/ # https://github.com/ruby/ruby/pull/5077 EnvUtil.under_gc_compact_stress do e = RuntimeError.new("foo\nbar\nbaz") assert_equal("foo (RuntimeError)\nbar\nbaz", e.detailed_message)