diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-04 10:43:24 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-04 06:08:04 +0000 |
commit | 822f01b36c7f9bf3b9f36eba3a508844908b7902 (patch) | |
tree | ee0bd64a53e25a950243bbded0f289ed4fb405e8 /test/rubygems/helper.rb | |
parent | 6a4087702bb8ceecdc831fbe8ff230dc988e6e96 (diff) | |
download | ruby-822f01b36c7f9bf3b9f36eba3a508844908b7902.tar.gz |
[rubygems/rubygems] Disabled to test rustc with msys2 platform.
https://github.com/rubygems/rubygems/actions/runs/4598776839/jobs/8123290246
https://github.com/rubygems/rubygems/commit/5c3b0a112e
Diffstat (limited to 'test/rubygems/helper.rb')
-rw-r--r-- | test/rubygems/helper.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb index 2442422f64..692d36ec8b 100644 --- a/test/rubygems/helper.rb +++ b/test/rubygems/helper.rb @@ -1176,6 +1176,20 @@ Also, a list: end ## + # Is this test being run on a version of Ruby built with mingw? + + def self.mingw_windows? + RUBY_PLATFORM.match("mingw") + end + + ## + # Is this test being run on a version of Ruby built with mingw? + + def mingw_windows? + RUBY_PLATFORM.match("mingw") + end + + ## # Is this test being run on a ruby/ruby repository? # |