ruby-changes:55803
From: Takashi <ko1@a...>
Date: Fri, 24 May 2019 01:03:52 +0900 (JST)
Subject: [ruby-changes:55803] Takashi Kokubun: 1ee1e8fccd (trunk): Test GC.compact with MJIT again
https://git.ruby-lang.org/ruby.git/commit/?id=1ee1e8fccd From 1ee1e8fccdec8de86799db02d6f62ba3d064ba1e Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Thu, 23 May 2019 09:03:23 -0700 Subject: Test GC.compact with MJIT again diff --git a/test/ruby/test_gc_compact.rb b/test/ruby/test_gc_compact.rb index 5669fd3..94acbb3 100644 --- a/test/ruby/test_gc_compact.rb +++ b/test/ruby/test_gc_compact.rb @@ -81,7 +81,7 @@ class TestGCCompact < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc_compact.rb#L81 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 https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc_compact.rb#L105 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) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/