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

ruby-changes:66161

From: Koichi <ko1@a...>
Date: Wed, 12 May 2021 12:59:50 +0900 (JST)
Subject: [ruby-changes:66161] 5a6af44e20 (master): skip test for debug.

https://git.ruby-lang.org/ruby.git/commit/?id=5a6af44e20

From 5a6af44e204ed03616c0b0f43a7aeeeb79f4d0ce Mon Sep 17 00:00:00 2001
From: Koichi Sasada <ko1@a...>
Date: Wed, 12 May 2021 12:57:53 +0900
Subject: skip test for debug.

test_memsize_of_iseq fails on repeat tests and it seems to difficult
to solve immediately. Now this test is skipped.

It seems that the result of `memsize_of(Object.new)` are increased.
Why...?
---
 test/objspace/test_objspace.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/objspace/test_objspace.rb b/test/objspace/test_objspace.rb
index 58e086c..812b081 100644
--- a/test/objspace/test_objspace.rb
+++ b/test/objspace/test_objspace.rb
@@ -106,6 +106,8 @@ class TestObjSpace < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/objspace/test_objspace.rb#L106
   end
 
   def test_memsize_of_iseq
+    skip # To debug
+
     iseqw = RubyVM::InstructionSequence.compile('def a; a = :b; a; end')
     base_obj_size = ObjectSpace.memsize_of(Object.new)
     assert_operator(ObjectSpace.memsize_of(iseqw), :>, base_obj_size)
-- 
cgit v1.1


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

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