1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Test GC.compact with MJIT again

This commit is contained in:
Takashi Kokubun 2019-05-23 09:03:23 -07:00
parent dde8ceaf70
commit 1ee1e8fccd
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -81,7 +81,7 @@ class TestGCCompact < Test::Unit::TestCase
loc = memory_location(new_tenant)
assert loc, "should have a memory location"
if (ENV['TRAVIS'] && RUBY_PLATFORM =~ /darwin/) || RubyVM::MJIT.enabled?
if (ENV['TRAVIS'] && RUBY_PLATFORM =~ /darwin/)
skip "tests are failing on Travis osx / Wercker from here"
end
@ -105,8 +105,6 @@ 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)