1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[Feature #18901] Don't run size pool move tests without VWA

This commit is contained in:
Matt Valentine-House 2022-07-07 14:17:39 +01:00 committed by Peter Zhu
parent 214ed4cbc6
commit 067a5f1a00
Notes: git 2022-07-12 21:51:01 +09:00

View file

@ -250,6 +250,7 @@ class TestGCCompact < Test::Unit::TestCase
end end
def test_moving_strings_up_size_pools def test_moving_strings_up_size_pools
omit if !GC.using_rvargc?
assert_separately([], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) assert_separately([], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV)
begin; begin;
STR_COUNT = 500 STR_COUNT = 500
@ -267,6 +268,7 @@ class TestGCCompact < Test::Unit::TestCase
end end
def test_moving_strings_down_size_pools def test_moving_strings_down_size_pools
omit if !GC.using_rvargc?
assert_separately([], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV) assert_separately([], "#{<<~"begin;"}\n#{<<~"end;"}", timeout: 10, signal: :SEGV)
begin; begin;
STR_COUNT = 500 STR_COUNT = 500