1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
k0kubun 2018-12-28 09:34:51 +00:00
parent 61885c9b7c
commit 041b61e340

View file

@ -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}"