summaryrefslogtreecommitdiff
path: root/test/ruby/test_gc_compact.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-05-23 09:03:23 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2019-05-23 09:03:34 -0700
commit1ee1e8fccdec8de86799db02d6f62ba3d064ba1e (patch)
treecc5191135b2a121b30adcdc00092de9d1f0c7f7b /test/ruby/test_gc_compact.rb
parentdde8ceaf709abca1e3af63739de65d2809691878 (diff)
Test GC.compact with MJIT again
Diffstat (limited to 'test/ruby/test_gc_compact.rb')
-rw-r--r--test/ruby/test_gc_compact.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb
index 5669fd3d6a..94acbb3a4d 100644
--- a/test/ruby/test_gc_compact.rb
+++ b/test/ruby/test_gc_compact.rb
@@ -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)