dev 1.0.152 → 1.0.153
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev/cmd/Test.rb +2 -2
- metadata +1 -1
data/lib/dev/cmd/Test.rb
CHANGED
@@ -15,8 +15,8 @@ class Test < Array
|
|
15
15
|
|
16
16
|
Dir.glob("*.{Test.csproj,Features.csproj}").each { |cs|
|
17
17
|
dll_name="bin/x86/Release/#{File.basename(cs,'.csproj')}.dll"
|
18
|
-
self << "<paths,nunit> /nologo #{dll_name} /xml:#{dll_name}.nunit-results.xml" if RUBY_PLATFORM.include?("w32")
|
19
|
-
self << "mono <paths,nunit> #{dll_name}" if !RUBY_PLATFORM.include?("w32")
|
18
|
+
self << "{:cmd=> '<paths,nunit> /nologo #{dll_name} /xml:#{dll_name}.nunit-results.xml', :auto=>true}" if RUBY_PLATFORM.include?("w32")
|
19
|
+
self << "{:cmd-> 'mono <paths,nunit> #{dll_name}', :auto=>true}" if !RUBY_PLATFORM.include?("w32")
|
20
20
|
}
|
21
21
|
|
22
22
|
end
|