dev 2.0.283 → 2.0.284
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 +12 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d976bf2e12a275cfd42cf56707d27b00eaeda8df
|
4
|
+
data.tar.gz: cb6ee685af2b4857c25dca28e6f680f2c97e2fdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e9359f3eabe465c73ce550cda0235f337797b586e4179acfafc8bcabbaa3562d7a741a39f68c1da5c9a0e16886a2c12f4962eafe0cf8f3af267621b8041fab9
|
7
|
+
data.tar.gz: be1f9d80cfef9e4f7848c8cd22b0316f66d2850902e4bce427a804260593f12d2fd8c1316cb32e5f0af2d81a9d6d635aabdbe4546a554e01f465783479148022
|
data/lib/tasks/test.rb
CHANGED
@@ -18,15 +18,24 @@ class Test < Array
|
|
18
18
|
nunit_arg="\"#{Test.nunit_console}\"" if Test.nunit_console.include?(' ')
|
19
19
|
dll_arg=nunit_dll
|
20
20
|
dll_arg="\"#{nunit_dll}\"" if(nunit_dll.include?(' '))
|
21
|
-
|
22
|
-
|
21
|
+
if(Test.nunit_console.include?('nunit3'))
|
22
|
+
xml_arg="--out=#{nunit_dll}.TestResults.xml --result=nunit3"
|
23
|
+
xml_arg="--out=\"#{nunit_dll}.TestResults.xml\" --result=nunit3" if(nunit_dll.include?(' '))
|
24
|
+
else
|
25
|
+
xml_arg="/xml:#{nunit_dll}.TestResults.xml"
|
26
|
+
xml_arg="/xml:\"#{nunit_dll}.TestResults.xml\"" if(nunit_dll.include?(' '))
|
27
|
+
end
|
23
28
|
add_quiet "#{nunit_arg} #{dll_arg} #{xml_arg}"
|
24
29
|
}
|
25
30
|
end
|
26
31
|
|
27
32
|
if(defined?(NUNIT_X86))
|
28
33
|
NUNIT_X86.each{|nunit_dll|
|
29
|
-
|
34
|
+
if(Test.nunit_console_x86.include?('nunit3'))
|
35
|
+
add_quiet "\"#{Test.nunit_console_x86}\" \"#{Rake.application.original_dir}\\#{nunit_dll}\" --out=\"#{nunit_dll}.TestResults.xml\" --result=nunit3"
|
36
|
+
else
|
37
|
+
add_quiet "\"#{Test.nunit_console_x86}\" \"#{Rake.application.original_dir}\\#{nunit_dll}\" /xml:\"#{nunit_dll}.TestResults.xml\""
|
38
|
+
end
|
30
39
|
}
|
31
40
|
end
|
32
41
|
|