diff options
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r-- | test/ruby/test_exception.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index c5f7a94a77..09a6541e90 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -1468,6 +1468,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) |