aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.nant/local.include
diff options
context:
space:
mode:
Diffstat (limited to '.nant/local.include')
-rw-r--r--.nant/local.include30
1 files changed, 26 insertions, 4 deletions
diff --git a/.nant/local.include b/.nant/local.include
index 6d3e972..9c9aa28 100644
--- a/.nant/local.include
+++ b/.nant/local.include
@@ -132,17 +132,33 @@
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.services.inventoryservice.tests">
136 <arg value="./bin/OpenSim.Services.InventoryService.Tests.dll" />
137 </exec>
138 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.services.inventoryservice.tests)==0}" />
139
135 <delete dir="%temp%"/> 140 <delete dir="%temp%"/>
136</target> 141</target>
137 142
138<target name="torture" depends="build, find-nunit"> 143<target name="test-stress" depends="build, find-nunit">
139 <setenv name="MONO_THREADS_PER_CPU" value="100" /> 144 <setenv name="MONO_THREADS_PER_CPU" value="100" />
140 145
141 <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.torture"> 146 <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.stress">
142 <arg value="./bin/OpenSim.Tests.Torture.dll" /> 147 <arg value="./bin/OpenSim.Tests.Stress.dll" />
143 </exec> 148 </exec>
144 149
145 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.tests.torture)==0}" /> 150 <fail message="Failures reported in stress tests." unless="${int::parse(testresult.opensim.tests.stress)==0}" />
151 <delete dir="%temp%"/>
152</target>
153
154<target name="test-perf" depends="build, find-nunit">
155 <setenv name="MONO_THREADS_PER_CPU" value="100" />
156
157 <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.performance">
158 <arg value="./bin/OpenSim.Tests.Performance.dll" />
159 </exec>
160
161 <fail message="Failures reported in performance tests." unless="${int::parse(testresult.opensim.tests.performance)==0}" />
146 <delete dir="%temp%"/> 162 <delete dir="%temp%"/>
147</target> 163</target>
148 164
@@ -224,6 +240,11 @@
224 <arg value="-xml=test-results/OpenSim.Capabilities.Handlers.Tests.dll-Results.xml" /> 240 <arg value="-xml=test-results/OpenSim.Capabilities.Handlers.Tests.dll-Results.xml" />
225 </exec> 241 </exec>
226 242
243 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.services.inventoryservice.tests">
244 <arg value="./bin/OpenSim.Services.InventoryService.Tests.dll" />
245 <arg value="-xml=test-results/OpenSim.Services.InventoryService.Tests.dll-Results.xml" />
246 </exec>
247
227 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.tests)==0}" /> 248 <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}" /> 249 <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}" /> 250 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" />
@@ -234,6 +255,7 @@
234 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" /> 255 <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}" /> 256 <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}" /> 257 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.capabilities.handlers.tests)==0}" />
258 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.services.inventoryservice.tests)==0}" />
237</target> 259</target>
238 260
239<target name="doxygen"> 261<target name="doxygen">