diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-28 09:34:51 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-12-28 09:34:51 +0000 |
commit | 041b61e3407d317a0bff3bf4b85fe7b13833874f (patch) | |
tree | b5907249a1b05728b6c1153d9d3734640cb27af4 /test/ruby | |
parent | 61885c9b7ca8ccdaf53d7c365fbb86bad3294d88 (diff) | |
download | ruby-041b61e3407d317a0bff3bf4b85fe7b13833874f.tar.gz |
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
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_jit.rb | 4 |
1 files 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}" |