summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2022-07-07 14:17:39 +0100
committerPeter Zhu <peter@peterzhu.ca>2022-07-12 08:50:33 -0400
commit067a5f1a0024ebd270f363cd440147da9dc176b5 (patch)
tree4421f38d98154246a7a6d80971d8510cad0d5c74
parent214ed4cbc6f33675230602dd09268b436da96f7d (diff)
[Feature #18901] Don't run size pool move tests without VWA
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6099
-rw-r--r--test/ruby/test_gc_compact.rb2
1 files changed, 2 insertions, 0 deletions
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