diff options
Diffstat (limited to '.nant/local.include')
-rw-r--r-- | .nant/local.include | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.nant/local.include b/.nant/local.include index 97c0c0f..03dc1b9 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -128,6 +128,11 @@ | |||
128 | </exec> | 128 | </exec> |
129 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" /> | 129 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" /> |
130 | 130 | ||
131 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.region.optionalmodules.tests"> | ||
132 | <arg value="./bin/OpenSim.Region.OptionalModules.Tests.dll" /> | ||
133 | </exec> | ||
134 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.optionalmodules.tests)==0}" /> | ||
135 | |||
131 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.region.framework.tests"> | 136 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.region.framework.tests"> |
132 | <arg value="./bin/OpenSim.Region.Framework.Tests.dll" /> | 137 | <arg value="./bin/OpenSim.Region.Framework.Tests.dll" /> |
133 | </exec> | 138 | </exec> |
@@ -201,6 +206,17 @@ | |||
201 | <exec program="monocov"> | 206 | <exec program="monocov"> |
202 | <arg value="--export-html=./cov/OpenSim.Region.CoreModules ./cov/OpenSim.Region.CoreModules.cov" /> | 207 | <arg value="--export-html=./cov/OpenSim.Region.CoreModules ./cov/OpenSim.Region.CoreModules.cov" /> |
203 | </exec> | 208 | </exec> |
209 | |||
210 | <exec program="mono"> | ||
211 | <arg value="--debug" /> | ||
212 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Region.OptionalModules.cov,+[OpenSim.Region.OptionalModules]" /> | ||
213 | <arg value="/usr/lib/nunit/nunit-console.exe" /> | ||
214 | <arg value="./bin/OpenSim.Region.OptionalModules.Tests.dll" /> | ||
215 | </exec> | ||
216 | <delete dir="./cov/OpenSim.Region.OptionalModules" /> | ||
217 | <exec program="monocov"> | ||
218 | <arg value="--export-html=./cov/OpenSim.Region.OptionalModules ./cov/OpenSim.Region.OptionalModules.cov" /> | ||
219 | </exec> | ||
204 | 220 | ||
205 | <exec program="mono"> | 221 | <exec program="mono"> |
206 | <arg value="--debug" /> | 222 | <arg value="--debug" /> |
@@ -298,6 +314,11 @@ | |||
298 | <arg value="-xml=test-results/OpenSim.Region.CoreModules.Tests.dll-Results.xml" /> | 314 | <arg value="-xml=test-results/OpenSim.Region.CoreModules.Tests.dll-Results.xml" /> |
299 | </exec> | 315 | </exec> |
300 | 316 | ||
317 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.optionalmodules.tests"> | ||
318 | <arg value="./bin/OpenSim.Region.Optional.Tests.dll" /> | ||
319 | <arg value="-xml=test-results/OpenSim.Region.OptionalModules.Tests.dll-Results.xml" /> | ||
320 | </exec> | ||
321 | |||
301 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.framework.tests"> | 322 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.framework.tests"> |
302 | <arg value="./bin/OpenSim.Region.Framework.Tests.dll" /> | 323 | <arg value="./bin/OpenSim.Region.Framework.Tests.dll" /> |
303 | <arg value="-xml=test-results/OpenSim.Region.Framework.Tests.dll-Results.xml" /> | 324 | <arg value="-xml=test-results/OpenSim.Region.Framework.Tests.dll-Results.xml" /> |
@@ -314,6 +335,7 @@ | |||
314 | <!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" /> --> | 335 | <!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" /> --> |
315 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" /> | 336 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" /> |
316 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" /> | 337 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" /> |
338 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.optionalmodules.tests)==0}" /> | ||
317 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" /> | 339 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" /> |
318 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.tests)==0}" /> | 340 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.tests)==0}" /> |
319 | 341 | ||
@@ -338,6 +360,7 @@ | |||
338 | <!-- <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> --> | 360 | <!-- <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> --> |
339 | <!-- <include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> --> | 361 | <!-- <include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> --> |
340 | <!-- <include name="./bin/OpenSim.Region.CoreModules.Tests.dll" /> --> | 362 | <!-- <include name="./bin/OpenSim.Region.CoreModules.Tests.dll" /> --> |
363 | <!-- <include name="./bin/OpenSim.Region.OptionalModules.Tests.dll" /> --> | ||
341 | <!-- <include name="./bin/OpenSim.Region.Framework.Tests.dll" /> --> | 364 | <!-- <include name="./bin/OpenSim.Region.Framework.Tests.dll" /> --> |
342 | <!-- <include name="./bin/OpenSim.Data.SQLite.Tests.dll" /> --> | 365 | <!-- <include name="./bin/OpenSim.Data.SQLite.Tests.dll" /> --> |
343 | <!-- <include name="./bin/OpenSim.Data.MySQL.Tests.dll" /> --> | 366 | <!-- <include name="./bin/OpenSim.Data.MySQL.Tests.dll" /> --> |