use visualcpp toolchain for test as well

This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-10-16 00:18:36 +09:00
parent fd8634d26b
commit 83922d0bbb
+6 -1
View File
@@ -109,7 +109,12 @@ MRuby::Build.new('host-debug') do |conf|
end
MRuby::Build.new('test') do |conf|
toolchain :gcc
# Gets set by the VS command prompts.
if ENV['VisualStudioVersion'] || ENV['VSINSTALLDIR']
toolchain :visualcpp
else
toolchain :gcc
end
enable_debug
conf.enable_bintest