summaryrefslogtreecommitdiff
path: root/test/ruby/test_gc_compact.rb
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-20 09:29:19 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-20 09:29:19 +0000
commit66ae3bd5599186599af5041dced836087cdeb3bd (patch)
treedc3f97905c4962ca2b9eb883f4711d4b9d8ee73c /test/ruby/test_gc_compact.rb
parentd4a555d441895cc56243b1a411404e324fbcf89f (diff)
skip test if mjit is enabled
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_gc_compact.rb')
-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 c5a6c33c0a..8d27efcec0 100644
--- a/test/ruby/test_gc_compact.rb
+++ b/test/ruby/test_gc_compact.rb
@@ -103,6 +103,8 @@ class TestGCCompact < Test::Unit::TestCase
end
def test_many_collisions
+ skip if RubyVM::MJIT.enabled?
+
list_of_objects = big_list
ids = list_of_objects.map(&:object_id)
addresses = list_of_objects.map(&self.:memory_location)