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:
parent
dde8ceaf70
commit
1ee1e8fccd
1 changed files with 1 additions and 3 deletions
|
@ -81,7 +81,7 @@ class TestGCCompact < Test::Unit::TestCase
|
||||||
loc = memory_location(new_tenant)
|
loc = memory_location(new_tenant)
|
||||||
assert loc, "should have a memory location"
|
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"
|
skip "tests are failing on Travis osx / Wercker from here"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -105,8 +105,6 @@ class TestGCCompact < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_many_collisions
|
def test_many_collisions
|
||||||
skip if RubyVM::MJIT.enabled?
|
|
||||||
|
|
||||||
list_of_objects = big_list
|
list_of_objects = big_list
|
||||||
ids = list_of_objects.map(&:object_id)
|
ids = list_of_objects.map(&:object_id)
|
||||||
addresses = list_of_objects.map(&self.:memory_location)
|
addresses = list_of_objects.map(&self.:memory_location)
|
||||||
|
|
Loading…
Reference in a new issue