aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2009-08-31 17:54:51 -0400
committerSean Dague2009-08-31 17:54:51 -0400
commit1bc430ca869f51e641fd3c34b5e0100c15c3afb0 (patch)
tree99e579452df71ed79f2d2852a23c426dc011b08d
parentchange the way the unit tests are run in the hopes of greater stability (diff)
downloadopensim-SC-1bc430ca869f51e641fd3c34b5e0100c15c3afb0.zip
opensim-SC-1bc430ca869f51e641fd3c34b5e0100c15c3afb0.tar.gz
opensim-SC-1bc430ca869f51e641fd3c34b5e0100c15c3afb0.tar.bz2
opensim-SC-1bc430ca869f51e641fd3c34b5e0100c15c3afb0.tar.xz
add some fail detection to the new test-xml target
-rw-r--r--.nant/local.include24
1 files changed, 17 insertions, 7 deletions
diff --git a/.nant/local.include b/.nant/local.include
index c4b75f2..1e1c030 100644
--- a/.nant/local.include
+++ b/.nant/local.include
@@ -172,41 +172,51 @@
172 <arg value="-xml=test-results/OpenSim.Framework.Communications.Tests.dll-Results.xml" /> 172 <arg value="-xml=test-results/OpenSim.Framework.Communications.Tests.dll-Results.xml" />
173 </exec> 173 </exec>
174 174
175 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Framework.Servers.Tests"> 175 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.framework.servers.tests">
176 <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> 176 <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" />
177 <arg value="-xml=test-results/OpenSim.Framework.Servers.Tests.dll-Results.xml" /> 177 <arg value="-xml=test-results/OpenSim.Framework.Servers.Tests.dll-Results.xml" />
178 </exec> 178 </exec>
179 179
180 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Region.ClientStack.LindenUDP.Tests"> 180 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.region.clientstack.lindenudp.tests">
181 <arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> 181 <arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" />
182 <arg value="-xml=test-results/OpenSim.Region.ClientStack.LindenUDP.Tests.dll-Results.xml" /> 182 <arg value="-xml=test-results/OpenSim.Region.ClientStack.LindenUDP.Tests.dll-Results.xml" />
183 </exec> 183 </exec>
184 184
185 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Region.ScriptEngine.Tests"> 185 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.region.scriptengine.tests">
186 <arg value="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> 186 <arg value="./bin/OpenSim.Region.ScriptEngine.Tests.dll" />
187 <arg value="-xml=test-results/OpenSim.Region.ScriptEngine.Tests.dll-Results.xml" /> 187 <arg value="-xml=test-results/OpenSim.Region.ScriptEngine.Tests.dll-Results.xml" />
188 </exec> 188 </exec>
189 189
190 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Region.CoreModules.Tests"> 190 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.region.coremodules.tests">
191 <arg value="./bin/OpenSim.Region.CoreModules.Tests.dll" /> 191 <arg value="./bin/OpenSim.Region.CoreModules.Tests.dll" />
192 <arg value="-xml=test-results/OpenSim.Region.CoreModules.Tests.dll-Results.xml" /> 192 <arg value="-xml=test-results/OpenSim.Region.CoreModules.Tests.dll-Results.xml" />
193 </exec> 193 </exec>
194 194
195 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Region.Framework.Tests"> 195 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.region.framework.tests">
196 <arg value="./bin/OpenSim.Region.Framework.Tests.dll" /> 196 <arg value="./bin/OpenSim.Region.Framework.Tests.dll" />
197 <arg value="-xml=test-results/OpenSim.Region.Framework.Tests.dll-Results.xml" /> 197 <arg value="-xml=test-results/OpenSim.Region.Framework.Tests.dll-Results.xml" />
198 </exec> 198 </exec>
199 199
200 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Data.SQLite.Tests"> 200 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.data.sqlite.tests">
201 <arg value="./bin/OpenSim.Data.SQLite.Tests.dll" /> 201 <arg value="./bin/OpenSim.Data.SQLite.Tests.dll" />
202 <arg value="-xml=test-results/OpenSim.Data.SQLite.Tests.dll-Results.xml" /> 202 <arg value="-xml=test-results/OpenSim.Data.SQLite.Tests.dll-Results.xml" />
203 </exec> 203 </exec>
204 204
205 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.OpenSim.Data.MySQL.Tests"> 205 <exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.data.mysql.tests">
206 <arg value="./bin/OpenSim.Data.MySQL.Tests.dll" /> 206 <arg value="./bin/OpenSim.Data.MySQL.Tests.dll" />
207 <arg value="-xml=test-results/OpenSim.Data.MySQL.Tests.dll-Results.xml" /> 207 <arg value="-xml=test-results/OpenSim.Data.MySQL.Tests.dll-Results.xml" />
208 </exec> 208 </exec>
209 209
210 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" />
211 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" />
212 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" />
213 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" />
214 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" />
215 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" />
216 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" />
217 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.sqlite.tests)==0}" />
218 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" />
219
210</target> 220</target>
211<!-- <exec program="nunit-console.exe" failonerror="false" resultproperty="testresult.acceptancetestassembly"> --> 221<!-- <exec program="nunit-console.exe" failonerror="false" resultproperty="testresult.acceptancetestassembly"> -->
212<!-- <arg value="AcceptanceTestAssembly.dll" /> --> 222<!-- <arg value="AcceptanceTestAssembly.dll" /> -->