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 5e02665..114c12d 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -43,11 +43,6 @@ | |||
43 | </exec> | 43 | </exec> |
44 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> | 44 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> |
45 | 45 | ||
46 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.framework.communications.tests"> | ||
47 | <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" /> | ||
48 | </exec> | ||
49 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" /> | ||
50 | |||
51 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.framework.servers.tests"> | 46 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.framework.servers.tests"> |
52 | <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> | 47 | <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> |
53 | </exec> | 48 | </exec> |
@@ -90,6 +85,8 @@ | |||
90 | </exec> | 85 | </exec> |
91 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" /> | 86 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" /> |
92 | 87 | ||
88 | <delete dir="%temp%"/> | ||
89 | |||
93 | </target> | 90 | </target> |
94 | 91 | ||
95 | <target name="test-cov" depends="build"> | 92 | <target name="test-cov" depends="build"> |
@@ -106,17 +103,6 @@ | |||
106 | <arg value="--export-html=./cov/OpenSim.Framework.Servers ./cov/OpenSim.Framework.Servers.cov" /> | 103 | <arg value="--export-html=./cov/OpenSim.Framework.Servers ./cov/OpenSim.Framework.Servers.cov" /> |
107 | </exec> | 104 | </exec> |
108 | 105 | ||
109 | <exec program="mono"> | ||
110 | <arg value="--debug" /> | ||
111 | <arg value="--profile=monocov:outfile=./cov/OpenSim.Framework.Communications.cov,+[OpenSim.Framework.Communications]" /> | ||
112 | <arg value="/usr/lib/nunit/nunit-console.exe" /> | ||
113 | <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" /> | ||
114 | </exec> | ||
115 | <delete dir="./cov/OpenSim.Framework.Communications" /> | ||
116 | <exec program="monocov"> | ||
117 | <arg value="--export-html=./cov/OpenSim.Framework.Servers ./cov/OpenSim.Framework.Communications.cov" /> | ||
118 | </exec> | ||
119 | |||
120 | <!-- | 106 | <!-- |
121 | <exec program="mono"> | 107 | <exec program="mono"> |
122 | <arg value="--debug" /> | 108 | <arg value="--debug" /> |
@@ -227,11 +213,6 @@ | |||
227 | <arg value="-xml=test-results/OpenSim.Framework.Tests.dll-Results.xml" /> | 213 | <arg value="-xml=test-results/OpenSim.Framework.Tests.dll-Results.xml" /> |
228 | </exec> | 214 | </exec> |
229 | 215 | ||
230 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.communications.tests"> | ||
231 | <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" /> | ||
232 | <arg value="-xml=test-results/OpenSim.Framework.Communications.Tests.dll-Results.xml" /> | ||
233 | </exec> | ||
234 | |||
235 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.serialization.tests"> | 216 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.serialization.tests"> |
236 | <arg value="./bin/OpenSim.Framework.Serialization.Tests.dll" /> | 217 | <arg value="./bin/OpenSim.Framework.Serialization.Tests.dll" /> |
237 | <arg value="-xml=test-results/OpenSim.Framework.Serialization.Tests.dll-Results.xml" /> | 218 | <arg value="-xml=test-results/OpenSim.Framework.Serialization.Tests.dll-Results.xml" /> |
@@ -275,7 +256,6 @@ | |||
275 | </exec> | 256 | </exec> |
276 | 257 | ||
277 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> | 258 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> |
278 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" /> | ||
279 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" /> | 259 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" /> |
280 | <!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" /> --> | 260 | <!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" /> --> |
281 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" /> | 261 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" /> |
@@ -301,7 +281,6 @@ | |||
301 | <!-- <test> --> | 281 | <!-- <test> --> |
302 | <!-- <assemblies> --> | 282 | <!-- <assemblies> --> |
303 | <!-- <include name="./bin/OpenSim.Framework.Tests.dll" /> --> | 283 | <!-- <include name="./bin/OpenSim.Framework.Tests.dll" /> --> |
304 | <!-- <include name="./bin/OpenSim.Framework.Communications.Tests.dll"/> --> | ||
305 | <!-- <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> --> | 284 | <!-- <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> --> |
306 | <!-- <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> --> | 285 | <!-- <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> --> |
307 | <!-- <include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> --> | 286 | <!-- <include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> --> |