summaryrefslogtreecommitdiff
path: root/test/ruby/test_method.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-02-22 14:34:19 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2024-05-29 11:13:02 -0700
commit2f4fe76eff0a8c6ab7a1d2fb845453acfc3cb206 (patch)
tree1b3bf61a966f57d52e518bd146803f26501d7bf5 /test/ruby/test_method.rb
parent548c7cb9f517dcb8029bd9698187c81819e08edd (diff)
Skip under_gc_compact_stress on s390x (#10073)
Diffstat (limited to 'test/ruby/test_method.rb')
-rw-r--r--test/ruby/test_method.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb
index 90635bc5e5..423ebd391a 100644
--- a/test/ruby/test_method.rb
+++ b/test/ruby/test_method.rb
@@ -451,6 +451,7 @@ class TestMethod < Test::Unit::TestCase
end
def test_clone_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
o = Object.new
def o.foo; :foo; end