diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb index 8ecb41438a..7d72f3573b 100644 --- a/test/ruby/test_gc_compact.rb +++ b/test/ruby/test_gc_compact.rb @@ -250,6 +250,7 @@ class TestGCCompact < Test::Unit::TestCase end def test_moving_strings_up_size_pools + omit if !GC.using_rvargc? assert_separately([], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) begin; STR_COUNT = 500 @@ -267,6 +268,7 @@ class TestGCCompact < Test::Unit::TestCase end def test_moving_strings_down_size_pools + omit if !GC.using_rvargc? assert_separately([], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) begin; STR_COUNT = 500