summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-11-04 21:12:49 +0900
committerNobuyoshi Nakada <[email protected]>2024-11-04 21:12:49 +0900
commit09874e90bf4e7850c00552cfee2beb103902a4ad (patch)
treefdaa70d990aeb6029fc118817d5f6cb69d3378bd /test
parente7518a7859afdb8bb0745d084e59a82cb1dba4a5 (diff)
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.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11991
Diffstat (limited to 'test')
-rw-r--r--test/.excludes/TestArgf.rb9
-rw-r--r--test/.excludes/TestRubyOptions.rb11
2 files changed, 20 insertions, 0 deletions
diff --git a/test/.excludes/TestArgf.rb b/test/.excludes/TestArgf.rb
new file mode 100644
index 0000000000..8cdda716e0
--- /dev/null
+++ b/test/.excludes/TestArgf.rb
@@ -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
diff --git a/test/.excludes/TestRubyOptions.rb b/test/.excludes/TestRubyOptions.rb
new file mode 100644
index 0000000000..0aad715f60
--- /dev/null
+++ b/test/.excludes/TestRubyOptions.rb
@@ -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