From 041b61e3407d317a0bff3bf4b85fe7b13833874f Mon Sep 17 00:00:00 2001 From: k0kubun Date: Fri, 28 Dec 2018 09:34:51 +0000 Subject: [PATCH] test_jit.rb: suppress random failure on RubyCI This failure is a known issue that exists mainly on CI environments. We should address this at some moment, but making CI red by this would be just a false-positive alarm for now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_jit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index 7fe58ea336..d90bc67eae 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -764,8 +764,8 @@ class TestJIT < Test::Unit::TestCase end def test_clean_so - if appveyor_mswin? - skip 'Removing so file is failing on AppVeyor mswin due to Permission Denied.' + if RUBY_PLATFORM.match?(/mswin/) + skip 'Removing so file is randomly failing on AppVeyor/RubyCI mswin due to Permission Denied.' end Dir.mktmpdir("jit_test_clean_so_") do |dir| code = "x = 0; 10.times {|i|x+=i}"