From e38a0b46067fd261a88be608787927ccdf5b7877 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Mon, 22 Oct 2018 15:49:22 +0000 Subject: revisit more MJIT test skips r65308 passed both trunk-mjit and trunk-mjit-wait CIs. MJIT copy job looks working fine. Then this commit skips 5 more tests. Some of them were skipped in a very early stage and may still need to be skipped, but I want to confirm them since they haven't been changed for a long time. And this prefers having inline information on `RubyVM::MJIT.enabled?`. This commit makes it easier to confirm whether there's suspicious test skip by RubyVM::MJIT.enabled? or not. After this commit, tentatively we're not skipping tests for MJIT other than `assert_no_memory_leak` ones. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'test/ruby/test_io.rb') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 2ccf25f1df..3faa4e1fdb 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -548,8 +548,6 @@ class TestIO < Test::Unit::TestCase if have_nonblock? def test_copy_stream_no_busy_wait - # JIT has busy wait on GC. It's hard to test this with JIT. - skip "MJIT has busy wait on GC. We can't test this with JIT." if RubyVM::MJIT.enabled? skip "multiple threads already active" if Thread.list.size > 1 msg = 'r58534 [ruby-core:80969] [Backport #13533]' @@ -2147,12 +2145,6 @@ class TestIO < Test::Unit::TestCase end def test_autoclose_true_closed_by_finalizer - if RubyVM::MJIT.enabled? - # This is skipped but this test passes with AOT mode. - # At least it should not be a JIT compiler's bug. - skip "MJIT worker does IO which is unexpected for this test" - end - feature2250 = '[ruby-core:26222]' pre = 'ft2250' t = Tempfile.new(pre) -- cgit v1.2.3