Skip to content

Commit 09874e9

Browse files
committed
Mingw: Exclude failing tests due to the crt change
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.
1 parent e7518a7 commit 09874e9

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

test/.excludes/TestArgf.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
if RUBY_PLATFORM.include?("mingw")
2+
reason = <<~EOS
3+
Mingw crt-git 12.0.0.r369.g0d4221712-1 now prohibits "command line
4+
contains characters that are not supported in the active code page".
5+
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/0d42217123d3aec0341b79f6d959c76e09648a1e/
6+
EOS
7+
8+
exclude(:test_inplace_nonascii, reason)
9+
end

test/.excludes/TestRubyOptions.rb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
if RUBY_PLATFORM.include?("mingw")
2+
reason = <<~EOS
3+
Mingw crt-git 12.0.0.r369.g0d4221712-1 now prohibits "command line
4+
contains characters that are not supported in the active code page".
5+
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/0d42217123d3aec0341b79f6d959c76e09648a1e/
6+
EOS
7+
8+
exclude(:test_chdir, reason)
9+
exclude(:test_locale_codepage, reason)
10+
exclude(:test_command_line_progname_nonascii, reason)
11+
end

0 commit comments

Comments
 (0)