lib/dev/cmd/Test.rb in dev-1.0.155 vs lib/dev/cmd/Test.rb in dev-1.0.156
- old
+ new
@@ -12,11 +12,11 @@
Dir.glob("*.gemspec").each { |gs|
self << "{:cmd=>'gem install #{gs.gsub('.gemspec','')}-#{DEV[:version]}.gem', :capture_output=>true, :auto=>true}"
}
Dir.glob("*.{Test.csproj,Features.csproj}").each { |cs|
- dll_name="bin/x86/Release/#{File.basename(cs,'.csproj')}.dll"
- self << "{:cmd=> '<paths,nunit> /nologo #{dll_name} /xml:#{dll_name}.nunit-results.xml', :auto=>true}" if RUBY_PLATFORM.include?("w32")
+ dll_name="#{DEV[:directory]}/bin/x86/Release/#{File.basename(cs,'.csproj')}.dll"
+ self << "{:cmd=> '<paths,nunit> /xml:#{dll_name}.nunit-results.xml #{dll_name}', :auto=>true}" if RUBY_PLATFORM.include?("w32")
self << "{:cmd-> 'mono <paths,nunit> #{dll_name}', :auto=>true}" if !RUBY_PLATFORM.include?("w32")
}
end
end # class Test
\ No newline at end of file