diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2024-11-04 16:00:11 -0800 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-11-06 13:30:32 +0900 |
| commit | 279fb0083a9c9fd4423068cb738762c7a169c9cc (patch) | |
| tree | 2608c83de300ab3441d775a8173279049574db9e /test/ruby/test_rubyoptions.rb | |
| parent | e9cc29bb5db2099ceea43f6bb66914acd9d20f87 (diff) | |
Skip tests that suddenly started failing for MinGW
These test failures first appeared on irrelevant changes. It probably
came from changes in GitHub Actions instead of CRuby's.
Until we figure out how to fix these tests, let's skip them to make the
CI usable.
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
| -rw-r--r-- | test/ruby/test_rubyoptions.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index aae2522fc6..035255477b 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -303,6 +303,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/) @@ -902,6 +903,7 @@ class TestRubyOptions < Test::Unit::TestCase end def test_command_line_progname_nonascii + omit "not working on MinGW" if /mingw/ =~ RUBY_PLATFORM bug10555 = '[ruby-dev:48752] [Bug #10555]' name = expected = nil unless (0x80..0x10000).any? {|c| @@ -953,6 +955,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| |
