ruby-changes:53076
From: k0kubun <ko1@a...>
Date: Mon, 22 Oct 2018 08:07:23 +0900 (JST)
Subject: [ruby-changes:53076] k0kubun:r65290 (trunk): revert r65285
k0kubun 2018-10-22 08:07:18 +0900 (Mon, 22 Oct 2018) New Revision: 65290 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65290 Log: revert r65285 because it didn't work. Partially leaving "sometimes fail" tests. Modified files: trunk/test/-ext-/thread_fd_close/test_thread_fd_close.rb trunk/test/rubygems/test_gem_util.rb Index: test/-ext-/thread_fd_close/test_thread_fd_close.rb =================================================================== --- test/-ext-/thread_fd_close/test_thread_fd_close.rb (revision 65289) +++ test/-ext-/thread_fd_close/test_thread_fd_close.rb (revision 65290) @@ -6,6 +6,8 @@ require 'io/wait' https://github.com/ruby/ruby/blob/trunk/test/-ext-/thread_fd_close/test_thread_fd_close.rb#L6 class TestThreadFdClose < Test::Unit::TestCase def test_thread_fd_close + skip "MJIT thread is unexpected for this" if RubyVM::MJIT.enabled? + IO.pipe do |r, w| th = Thread.new do begin Index: test/rubygems/test_gem_util.rb =================================================================== --- test/rubygems/test_gem_util.rb (revision 65289) +++ test/rubygems/test_gem_util.rb (revision 65290) @@ -5,6 +5,7 @@ require 'rubygems/util' https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_util.rb#L5 class TestGemUtil < Gem::TestCase def test_class_popen + skip "MJIT executes process and it's caught by Process.wait(-1)" if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? assert_equal "0\n", Gem::Util.popen(Gem.ruby, '-e', 'p 0') assert_raises Errno::ECHILD do -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/