[前][次][番号順一覧][スレッド一覧]

ruby-changes:72514

From: Matt <ko1@a...>
Date: Tue, 12 Jul 2022 21:50:55 +0900 (JST)
Subject: [ruby-changes:72514] 067a5f1a00 (master): [Feature #18901] Don't run size pool move tests without VWA

https://git.ruby-lang.org/ruby.git/commit/?id=067a5f1a00

From 067a5f1a0024ebd270f363cd440147da9dc176b5 Mon Sep 17 00:00:00 2001
From: Matt Valentine-House <matt@e...>
Date: Thu, 7 Jul 2022 14:17:39 +0100
Subject: [Feature #18901] Don't run size pool move tests without VWA

---
 test/ruby/test_gc_compact.rb | 2 ++
 1 file changed, 2 insertions(+)

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 https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc_compact.rb#L250
   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 https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc_compact.rb#L268
   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
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]