dev 1.0.156 → 1.0.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/dev/SystemCall.rb +3 -1
- data/lib/dev/cmd/Test.rb +1 -1
- metadata +1 -1
data/lib/dev/SystemCall.rb
CHANGED
@@ -97,8 +97,10 @@ class SystemCall
|
|
97
97
|
@status,@output,@error=system2(@dir,@command,@capture_output,@capture_error)
|
98
98
|
#puts_debug "system2 call complete"
|
99
99
|
@end_time=Time.now
|
100
|
-
rescue
|
100
|
+
rescue Exception=>e
|
101
101
|
puts "error executing ruby code: #{@command}"
|
102
|
+
warn "exception:"
|
103
|
+
warn e.to_s
|
102
104
|
@status="1"
|
103
105
|
@end_time=Time.now
|
104
106
|
ensure
|
data/lib/dev/cmd/Test.rb
CHANGED
@@ -15,7 +15,7 @@ class Test < Array
|
|
15
15
|
|
16
16
|
Dir.glob("*.{Test.csproj,Features.csproj}").each { |cs|
|
17
17
|
dll_name="#{DEV[:directory]}/bin/x86/Release/#{File.basename(cs,'.csproj')}.dll"
|
18
|
-
self << "{:cmd=> '<paths,nunit> /xml:#{dll_name}.nunit-results.xml #{dll_name}', :auto=>true}" if RUBY_PLATFORM.include?("w32")
|
18
|
+
self << "{:cmd=> '<paths,nunit> /xml:#{dll_name}.nunit-results.xml #{dll_name}', :auto=>true :capture_output=>true, :capture_error=>true}" if RUBY_PLATFORM.include?("w32")
|
19
19
|
self << "{:cmd-> 'mono <paths,nunit> #{dll_name}', :auto=>true}" if !RUBY_PLATFORM.include?("w32")
|
20
20
|
}
|
21
21
|
|