summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/bintest.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/bintest.rb b/test/bintest.rb
index 0ef0b4187..8f56cc0ad 100644
--- a/test/bintest.rb
+++ b/test/bintest.rb
@@ -20,6 +20,11 @@ def shellquote(s)
end
ARGV.each do |gem|
+ case RbConfig::CONFIG['host_os']
+ when /mswin(?!ce)|mingw|cygwin|bccwin/
+ gem = gem.gsub('\\', '/')
+ end
+
Dir["#{gem}/bintest/**/*.rb"].each do |file|
load file
end