summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-06 13:18:52 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-06 15:35:34 +0900
commit35bd3d110fb2b41b107423c26042c8404e295214 (patch)
treee842a3f07e55f6c626e89f9047f47270eb3eefc3 /test/ruby
parent2ad331acf6b7990361ead9d03382f4198206610a (diff)
Skip MinGW failure with GitHub Actions update
We should fix this later
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_argf.rb1
-rw-r--r--test/ruby/test_rubyoptions.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb
index 12f7d6485a..903cd62b02 100644
--- a/test/ruby/test_argf.rb
+++ b/test/ruby/test_argf.rb
@@ -267,6 +267,7 @@ class TestArgf < Test::Unit::TestCase
end
def test_inplace_nonascii
+ omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
ext = Encoding.default_external or
omit "no default external encoding"
t = nil
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index cb4443ba4b..b8e22b7c7d 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -306,6 +306,7 @@ class TestRubyOptions < Test::Unit::TestCase
end
def test_chdir
+ omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
assert_in_out_err(%w(-C), "", [], /Can't chdir/)
assert_in_out_err(%w(-C test_ruby_test_rubyoptions_foobarbazqux), "", [], /Can't chdir/)
@@ -973,6 +974,7 @@ class TestRubyOptions < Test::Unit::TestCase
# Since the codepage is shared all processes per conhost.exe, do
# not chcp, or parallel test may break.
def test_locale_codepage
+ omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM
locale = Encoding.find("locale")
list = %W"\u{c7} \u{452} \u{3066 3059 3068}"
list.each do |s|