diff options
| author | bggd <[email protected]> | 2016-03-07 14:50:21 +0900 |
|---|---|---|
| committer | bggd <[email protected]> | 2016-03-07 14:50:21 +0900 |
| commit | a138ae3506a40f91ead26f07a3f67498c5a1a7b9 (patch) | |
| tree | c3f80ce92f842a97d5e97554f395f94f65d6a648 /test | |
| parent | 41d6ba23b512147497589efbe87a445256d5b213 (diff) | |
| download | mruby-a138ae3506a40f91ead26f07a3f67498c5a1a7b9.tar.gz mruby-a138ae3506a40f91ead26f07a3f67498c5a1a7b9.zip | |
Fix doesn't work bintest on :visualcpp toolchain
Diffstat (limited to 'test')
| -rw-r--r-- | test/bintest.rb | 5 |
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 |
