diff options
Diffstat (limited to '.nant/local.include')
-rw-r--r-- | .nant/local.include | 40 |
1 files changed, 36 insertions, 4 deletions
diff --git a/.nant/local.include b/.nant/local.include index 6d3e972..5185717 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -132,17 +132,38 @@ | |||
132 | </exec> | 132 | </exec> |
133 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.capabilities.handlers.tests)==0}" /> | 133 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.capabilities.handlers.tests)==0}" /> |
134 | 134 | ||
135 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.server.handlers.tests"> | ||
136 | <arg value="./bin/OpenSim.Server.Handlers.Tests.dll" /> | ||
137 | </exec> | ||
138 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.server.handlers.tests)==0}" /> | ||
139 | |||
140 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.services.inventoryservice.tests"> | ||
141 | <arg value="./bin/OpenSim.Services.InventoryService.Tests.dll" /> | ||
142 | </exec> | ||
143 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.services.inventoryservice.tests)==0}" /> | ||
144 | |||
135 | <delete dir="%temp%"/> | 145 | <delete dir="%temp%"/> |
136 | </target> | 146 | </target> |
137 | 147 | ||
138 | <target name="torture" depends="build, find-nunit"> | 148 | <target name="test-stress" depends="build, find-nunit"> |
139 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> | 149 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> |
140 | 150 | ||
141 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.torture"> | 151 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.stress"> |
142 | <arg value="./bin/OpenSim.Tests.Torture.dll" /> | 152 | <arg value="./bin/OpenSim.Tests.Stress.dll" /> |
143 | </exec> | 153 | </exec> |
144 | 154 | ||
145 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.tests.torture)==0}" /> | 155 | <fail message="Failures reported in stress tests." unless="${int::parse(testresult.opensim.tests.stress)==0}" /> |
156 | <delete dir="%temp%"/> | ||
157 | </target> | ||
158 | |||
159 | <target name="test-perf" depends="build, find-nunit"> | ||
160 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> | ||
161 | |||
162 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.performance"> | ||
163 | <arg value="./bin/OpenSim.Tests.Performance.dll" /> | ||
164 | </exec> | ||
165 | |||
166 | <fail message="Failures reported in performance tests." unless="${int::parse(testresult.opensim.tests.performance)==0}" /> | ||
146 | <delete dir="%temp%"/> | 167 | <delete dir="%temp%"/> |
147 | </target> | 168 | </target> |
148 | 169 | ||
@@ -224,6 +245,16 @@ | |||
224 | <arg value="-xml=test-results/OpenSim.Capabilities.Handlers.Tests.dll-Results.xml" /> | 245 | <arg value="-xml=test-results/OpenSim.Capabilities.Handlers.Tests.dll-Results.xml" /> |
225 | </exec> | 246 | </exec> |
226 | 247 | ||
248 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.server.handlers.tests"> | ||
249 | <arg value="./bin/OpenSim.Server.Handlers.Tests.dll" /> | ||
250 | <arg value="-xml=test-results/OpenSim.Server.Handlers.Tests.dll-Results.xml" /> | ||
251 | </exec> | ||
252 | |||
253 | <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.services.inventoryservice.tests"> | ||
254 | <arg value="./bin/OpenSim.Services.InventoryService.Tests.dll" /> | ||
255 | <arg value="-xml=test-results/OpenSim.Services.InventoryService.Tests.dll-Results.xml" /> | ||
256 | </exec> | ||
257 | |||
227 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.tests)==0}" /> | 258 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.tests)==0}" /> |
228 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> | 259 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> |
229 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" /> | 260 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" /> |
@@ -234,6 +265,7 @@ | |||
234 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" /> | 265 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" /> |
235 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.tests)==0}" /> | 266 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.tests)==0}" /> |
236 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.capabilities.handlers.tests)==0}" /> | 267 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.capabilities.handlers.tests)==0}" /> |
268 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.services.inventoryservice.tests)==0}" /> | ||
237 | </target> | 269 | </target> |
238 | 270 | ||
239 | <target name="doxygen"> | 271 | <target name="doxygen"> |