Skip to content

Commit

Permalink
Mingw: Exclude failing tests due to the crt change
Browse files Browse the repository at this point in the history
Mingw crt-git 12.0.0.r369.g0d4221712-1 now prohibits "command line
contains characters that are not supported in the active code page".
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/0d42217123d3aec0341b79f6d959c76e09648a1e/

Provisionally exclude tests that fail by passing such characters.
  • Loading branch information
nobu committed Nov 4, 2024
1 parent e7518a7 commit 09874e9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/.excludes/TestArgf.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
if RUBY_PLATFORM.include?("mingw")
reason = <<~EOS
Mingw crt-git 12.0.0.r369.g0d4221712-1 now prohibits "command line
contains characters that are not supported in the active code page".
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/0d42217123d3aec0341b79f6d959c76e09648a1e/
EOS

exclude(:test_inplace_nonascii, reason)
end
11 changes: 11 additions & 0 deletions test/.excludes/TestRubyOptions.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if RUBY_PLATFORM.include?("mingw")
reason = <<~EOS
Mingw crt-git 12.0.0.r369.g0d4221712-1 now prohibits "command line
contains characters that are not supported in the active code page".
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/0d42217123d3aec0341b79f6d959c76e09648a1e/
EOS

exclude(:test_chdir, reason)
exclude(:test_locale_codepage, reason)
exclude(:test_command_line_progname_nonascii, reason)
end

0 comments on commit 09874e9

Please sign in to comment.