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:
parent
214ed4cbc6
commit
067a5f1a00
Notes:
git
2022-07-12 21:51:01 +09:00
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue