dev 2.1.85 → 2.1.86
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/test.rb +16 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8957c3351301e3476c044c04eab4f2f0f75956e9
|
4
|
+
data.tar.gz: 2924eaab1fe7135df62ea1c16e750cdfeb1f12bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f9b3fbbfb943b7a04c9aa8492c6b0a4a2790de13777abf0c4abc55fd4e8add364e7148c675c8d3055f89d5495bdbf390bff1d1abbc399de4f1d836de474cd6b
|
7
|
+
data.tar.gz: 0a894647a1b702beacd649fb74d02f5fe55aa190b4e59fef0095cf24df290587c4d5e2322675132e72075a72aa153c06e91e4280b69effb02678976244db0d51
|
data/lib/tasks/test.rb
CHANGED
@@ -14,18 +14,22 @@ class Test < Array
|
|
14
14
|
|
15
15
|
if(defined?(NUNIT))
|
16
16
|
NUNIT.each{|nunit_dll|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
17
|
+
skip = false
|
18
|
+
skip = true if(nunit_dll.include?('/netcoreapp'))
|
19
|
+
if(!skip)
|
20
|
+
nunit_arg=Test.nunit_console
|
21
|
+
nunit_arg="\"#{Test.nunit_console}\"" if Test.nunit_console.include?(' ')
|
22
|
+
dll_arg=nunit_dll
|
23
|
+
dll_arg="\"#{nunit_dll}\"" if(nunit_dll.include?(' '))
|
24
|
+
if(Test.nunit_console.include?('nunit3'))
|
25
|
+
xml_arg="--result=#{nunit_dll}.TestResults.xml --labels=All"
|
26
|
+
xml_arg="--result=\"#{nunit_dll}.TestResults.xml\" --labels=All" if(nunit_dll.include?(' '))
|
27
|
+
else
|
28
|
+
xml_arg="/xml:#{nunit_dll}.TestResults.xml"
|
29
|
+
xml_arg="/xml:\"#{nunit_dll}.TestResults.xml\"" if(nunit_dll.include?(' '))
|
30
|
+
end
|
31
|
+
add_quiet "#{nunit_arg} #{dll_arg} #{xml_arg}"
|
32
|
+
end
|
29
33
|
}
|
30
34
|
end
|
31
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.86
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|