dev 2.0.283 → 2.0.284

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tasks/test.rb +12 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc2be905c833c4328e2a0c366002e8bda3fc9bd8
4
- data.tar.gz: 26c11370ee98a72c67759e57cd24ff78d1edcda2
3
+ metadata.gz: d976bf2e12a275cfd42cf56707d27b00eaeda8df
4
+ data.tar.gz: cb6ee685af2b4857c25dca28e6f680f2c97e2fdc
5
5
  SHA512:
6
- metadata.gz: 0afcd32fa7009cc3d019e77ecbf9bbb44eed885772190c418c23ef7a2e37ff8884c7ebba9fc0cc99cb9e0330b81c0eca63afdbe8e0a92acd45edc5c3e2bb19a3
7
- data.tar.gz: f1844b2b5213fc0987cfa771c823fd0047d69f7b790c03458a4d1df80dffa4c58a974385137b6e15ba3d715d69f47fd4666f66a8d88f9483e025148b2cb100e1
6
+ metadata.gz: 3e9359f3eabe465c73ce550cda0235f337797b586e4179acfafc8bcabbaa3562d7a741a39f68c1da5c9a0e16886a2c12f4962eafe0cf8f3af267621b8041fab9
7
+ data.tar.gz: be1f9d80cfef9e4f7848c8cd22b0316f66d2850902e4bce427a804260593f12d2fd8c1316cb32e5f0af2d81a9d6d635aabdbe4546a554e01f465783479148022
@@ -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
- xml_arg="/xml:#{nunit_dll}.TestResults.xml"
22
- xml_arg="/xml:\"#{nunit_dll}.TestResults.xml\"" if(nunit_dll.include?(' '))
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
- add_quiet "\"#{Test.nunit_console_x86}\" \"#{Rake.application.original_dir}\\#{nunit_dll}\" /xml:\"#{nunit_dll}.TestResults.xml\""
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.283
4
+ version: 2.0.284
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow