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

ruby-changes:65358

From: Benoit <ko1@a...>
Date: Sun, 28 Feb 2021 20:25:43 +0900 (JST)
Subject: [ruby-changes:65358] 80e2c45f55 (master): Skip spec which does not work on mingw

https://git.ruby-lang.org/ruby.git/commit/?id=80e2c45f55

From 80e2c45f5560a2e44fb3949c5c3f5a11508f6043 Mon Sep 17 00:00:00 2001
From: Benoit Daloze <eregontp@g...>
Date: Sun, 28 Feb 2021 12:24:42 +0100
Subject: Skip spec which does not work on mingw

* https://github.com/ruby/ruby/runs/1994688198
  ruby 3.1.0dev (2021-02-27T16:42:17Z master 8305a48413) [x64-mingw32]
  C-API Thread function rb_thread_call_without_gvl runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO
  Example took longer than the configured timeout of 60.0s
---
 spec/ruby/optional/capi/thread_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/ruby/optional/capi/thread_spec.rb b/spec/ruby/optional/capi/thread_spec.rb
index 3b78812..30e2968 100644
--- a/spec/ruby/optional/capi/thread_spec.rb
+++ b/spec/ruby/optional/capi/thread_spec.rb
@@ -155,7 +155,7 @@ describe "C-API Thread function" do https://github.com/ruby/ruby/blob/trunk/spec/ruby/optional/capi/thread_spec.rb#L155
       end
     end
 
-    guard_not -> { platform_is :mingw and ruby_version_is ""..."2.7" } do
+    platform_is_not :mingw do
       it "runs a C function with the global lock unlocked and unlocks IO with the generic RUBY_UBF_IO" do
         thr = Thread.new do
           @t.rb_thread_call_without_gvl_with_ubf_io
-- 
cgit v1.1


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

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