Merge pull request #3131 from bggd/fix_bintest_on_windows

Fix doesn't work bintest on :visualcpp toolchain
This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-03-16 16:29:14 +09:00
+5
View File
@@ -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