dev 2.1.82 → 2.1.83
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 +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70e78ad0c41461213226c99f562aec9a7d6cdb0fd705fa96ddc73d90a9d758e0
|
4
|
+
data.tar.gz: f32b2dc0a55b720b8220ec9a30049b063f49e1050cdab764ecc639f15dd1b525
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7720f6b6cc9d8ec3e93c6bdc33b37173eae08bf0464d3dd70b64c922c12a3dc1a801ca5aebada069d600acc85fa21855cdcb0bf60c72841a12f23ec84819634
|
7
|
+
data.tar.gz: 75626b812f23fcab75fa860e45cac44fd7ec1f85c04450a5149416152d22ba0f37240059d60d171b551322644f7e187fa8e6ea22c5991942268b528b631c242e
|
data/lib/tasks/test.rb
CHANGED
@@ -74,6 +74,9 @@ class Test < Array
|
|
74
74
|
@@nunit_console = "C:\\Program Files (x86)\\NUnit.org\\nunit-console\\nunit3-console.exe" if(!File.exists?(@@nunit_console))
|
75
75
|
@@nunit_console = "C:\\Program Files (x86)\\NUnit 2.6.4\\bin\\nunit-console.exe" if(!File.exists?(@@nunit_console))
|
76
76
|
@@nunit_console = "C:\\Program Files (x86)\\NUnit 2.6.3\\bin\\nunit-console.exe" if(!File.exists?(@@nunit_console))
|
77
|
+
if(!File.exists?(@@nunit_console))
|
78
|
+
Dir.glob('**/nunit3-console.exe'){|n| @@nunit_console=n}
|
79
|
+
end
|
77
80
|
end
|
78
81
|
if(!File.exists?(@@nunit_console))
|
79
82
|
raise "unable to locate nunit-console.exe, assign NUNIT_CONSOLE to the correct location."
|