summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-01-16 09:39:14 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-01-16 12:35:21 +0900
commit8d319edf38a7e04b59ffaa74b1ac7bc4c1551abe (patch)
treedc1a39d96470fd5d5f2b102f0655b394a5242506
parent4e563d9c5134acc38eb1ebc73aadcbefb05cd992 (diff)
Skip win32ole tests without Windows platform
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12583
-rw-r--r--tool/test-bundled-gems.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb
index 78d2ed002e..8095d086a8 100644
--- a/tool/test-bundled-gems.rb
+++ b/tool/test-bundled-gems.rb
@@ -62,6 +62,9 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
when "test-unit"
test_command = "#{ruby} -C #{gem_dir}/src/#{gem} test/run-test.rb"
+ when "win32ole"
+ next unless /mswin|mingw/ =~ RUBY_PLATFORM
+
end
if load_path