dev_commands 0.0.32 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/test.rb +6 -2
- metadata +1 -1
data/lib/test.rb
CHANGED
@@ -29,7 +29,9 @@ class Test < Array
|
|
29
29
|
@@nunit_console=''
|
30
30
|
def self.nunit_console
|
31
31
|
if(!File.exists?(@@nunit_console))
|
32
|
-
|
32
|
+
if(defined?(NUNIT_CONSOLE))
|
33
|
+
@@nunit_console = NUNIT_CONSOLE
|
34
|
+
end
|
33
35
|
@@nunit_console = "C:\\Program Files (x86)\\NUnit 2.6.4\\bin\\nunit-console.exe" if(!File.exists?(@@nunit_console))
|
34
36
|
@@nunit_console = "C:\\Program Files (x86)\\NUnit 2.6.3\\bin\\nunit-console.exe" if(!File.exists?(@@nunit_console))
|
35
37
|
end
|
@@ -42,7 +44,9 @@ class Test < Array
|
|
42
44
|
@@nunit_console_x86=''
|
43
45
|
def self.nunit_console_x86
|
44
46
|
if(!File.exists?(@@nunit_console_x86))
|
45
|
-
|
47
|
+
if(defined?(NUNIT_CONSOLE_X86))
|
48
|
+
@@nunit_console_x86 = NUNIT_CONSOLE_X86
|
49
|
+
end
|
46
50
|
@@nunit_console_x86 = "C:\\Program Files (x86)\\NUnit 2.6.4\\bin\\nunit-console-x86.exe" if(!File.exists?(@@nunit_console_x86))
|
47
51
|
@@nunit_console_x86 = "C:\\Program Files (x86)\\NUnit 2.6.3\\bin\\nunit-console-x86.exe" if(!File.exists?(@@nunit_console_x86))
|
48
52
|
end
|