diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-03-16 16:29:14 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-03-16 16:29:14 +0900 |
| commit | 643d967b101586c5946be4394a1f6bd9f0ef1f2b (patch) | |
| tree | 9324788399904d137d6367f4fa426c99dc24070a | |
| parent | 52d388515f21798408fc0d528cebd1dd644ce21c (diff) | |
| parent | a138ae3506a40f91ead26f07a3f67498c5a1a7b9 (diff) | |
| download | mruby-643d967b101586c5946be4394a1f6bd9f0ef1f2b.tar.gz mruby-643d967b101586c5946be4394a1f6bd9f0ef1f2b.zip | |
Merge pull request #3131 from bggd/fix_bintest_on_windows
Fix doesn't work bintest on :visualcpp toolchain
| -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 |
