diff options
Diffstat (limited to '.nant/local.include')
-rw-r--r-- | .nant/local.include | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/.nant/local.include b/.nant/local.include index 1e8bedc..2591aba 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -94,11 +94,6 @@ | |||
94 | </exec> | 94 | </exec> |
95 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> | 95 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> |
96 | 96 | ||
97 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.framework.communications.tests"> | ||
98 | <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" /> | ||
99 | </exec> | ||
100 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" /> | ||
101 | |||
102 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.framework.servers.tests"> | 97 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.framework.servers.tests"> |
103 | <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> | 98 | <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> |
104 | </exec> | 99 | </exec> |
@@ -141,6 +136,8 @@ | |||
141 | </exec> | 136 | </exec> |
142 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" /> | 137 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" /> |
143 | 138 | ||
139 | <delete dir="%temp%"/> | ||
140 | |||
144 | </target> | 141 | </target> |
145 | 142 | ||
146 | <target name="test-cov" depends="build"> | 143 | <target name="test-cov" depends="build"> |
@@ -157,17 +154,6 @@ | |||
157 | <arg value="--export-html=./cov/OpenSim.Framework.Servers ./cov/OpenSim.Framework.Servers.cov" /> | 154 | <arg value="--export-html=./cov/OpenSim.Framework.Servers ./cov/OpenSim.Framework.Servers.cov" /> |
158 | </exec> | 155 | </exec> |
159 | 156 | ||
160 | <exec program="mono"> | ||
161 | <arg value="--debug" /> | ||
162 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Framework.Communications.cov,+[OpenSim.Framework.Communications]" /> | ||
163 | <arg value="/usr/lib/nunit/nunit-console.exe" /> | ||
164 | <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" /> | ||
165 | </exec> | ||
166 | <delete dir="./cov/OpenSim.Framework.Communications" /> | ||
167 | <exec program="monocov"> | ||
168 | <arg value="--export-html=./cov/OpenSim.Framework.Servers ./cov/OpenSim.Framework.Communications.cov" /> | ||
169 | </exec> | ||
170 | |||
171 | <!-- | 157 | <!-- |
172 | <exec program="mono"> | 158 | <exec program="mono"> |
173 | <arg value="--debug" /> | 159 | <arg value="--debug" /> |
@@ -278,11 +264,6 @@ | |||
278 | <arg value="-xml=test-results/OpenSim.Framework.Tests.dll-Results.xml" /> | 264 | <arg value="-xml=test-results/OpenSim.Framework.Tests.dll-Results.xml" /> |
279 | </exec> | 265 | </exec> |
280 | 266 | ||
281 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.communications.tests"> | ||
282 | <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" /> | ||
283 | <arg value="-xml=test-results/OpenSim.Framework.Communications.Tests.dll-Results.xml" /> | ||
284 | </exec> | ||
285 | |||
286 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.serialization.tests"> | 267 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.serialization.tests"> |
287 | <arg value="./bin/OpenSim.Framework.Serialization.Tests.dll" /> | 268 | <arg value="./bin/OpenSim.Framework.Serialization.Tests.dll" /> |
288 | <arg value="-xml=test-results/OpenSim.Framework.Serialization.Tests.dll-Results.xml" /> | 269 | <arg value="-xml=test-results/OpenSim.Framework.Serialization.Tests.dll-Results.xml" /> |
@@ -326,7 +307,6 @@ | |||
326 | </exec> | 307 | </exec> |
327 | 308 | ||
328 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> | 309 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> |
329 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" /> | ||
330 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" /> | 310 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" /> |
331 | <!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" /> --> | 311 | <!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" /> --> |
332 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" /> | 312 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" /> |
@@ -352,7 +332,6 @@ | |||
352 | <!-- <test> --> | 332 | <!-- <test> --> |
353 | <!-- <assemblies> --> | 333 | <!-- <assemblies> --> |
354 | <!-- <include name="./bin/OpenSim.Framework.Tests.dll" /> --> | 334 | <!-- <include name="./bin/OpenSim.Framework.Tests.dll" /> --> |
355 | <!-- <include name="./bin/OpenSim.Framework.Communications.Tests.dll"/> --> | ||
356 | <!-- <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> --> | 335 | <!-- <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> --> |
357 | <!-- <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> --> | 336 | <!-- <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> --> |
358 | <!-- <include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> --> | 337 | <!-- <include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> --> |