[前][次][番号順一覧][スレッド一覧]

ruby-changes:54392

From: k0kubun <ko1@a...>
Date: Fri, 28 Dec 2018 18:34:56 +0900 (JST)
Subject: [ruby-changes:54392] k0kubun:r66606 (trunk): test_jit.rb: suppress random failure on RubyCI

k0kubun	2018-12-28 18:34:51 +0900 (Fri, 28 Dec 2018)

  New Revision: 66606

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66606

  Log:
    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.

  Modified files:
    trunk/test/ruby/test_jit.rb
Index: test/ruby/test_jit.rb
===================================================================
--- test/ruby/test_jit.rb	(revision 66605)
+++ test/ruby/test_jit.rb	(revision 66606)
@@ -764,8 +764,8 @@ class TestJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L764
   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}"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]