aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.nant/local.include
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-09-04 18:51:25 +0100
committerJustin Clark-Casey (justincc)2009-09-04 18:51:25 +0100
commitd810ad9e91930a152266aa92ed77a3a9d492ade4 (patch)
tree9814eca45ad9e6520c5b454f1bcbdb0ac4c7367e /.nant/local.include
parent* Last commit was a bit of a fail, it registered the root region for it's own... (diff)
downloadopensim-SC-d810ad9e91930a152266aa92ed77a3a9d492ade4.zip
opensim-SC-d810ad9e91930a152266aa92ed77a3a9d492ade4.tar.gz
opensim-SC-d810ad9e91930a152266aa92ed77a3a9d492ade4.tar.bz2
opensim-SC-d810ad9e91930a152266aa92ed77a3a9d492ade4.tar.xz
If a test dll fails when manually run, stop immediately rather than trying all the other test dlls
Diffstat (limited to '.nant/local.include')
-rw-r--r--.nant/local.include17
1 files changed, 8 insertions, 9 deletions
diff --git a/.nant/local.include b/.nant/local.include
index 58d1ad1..5401829 100644
--- a/.nant/local.include
+++ b/.nant/local.include
@@ -41,48 +41,47 @@
41 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.tests"> 41 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.tests">
42 <arg value="./bin/OpenSim.Framework.Tests.dll" /> 42 <arg value="./bin/OpenSim.Framework.Tests.dll" />
43 </exec> 43 </exec>
44 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" />
44 45
45 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.communications.tests"> 46 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.communications.tests">
46 <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" /> 47 <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" />
47 </exec> 48 </exec>
49 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" />
48 50
49 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.servers.tests"> 51 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.servers.tests">
50 <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> 52 <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" />
51 </exec> 53 </exec>
54 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" />
52 55
53 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.clientstack.lindenudp.tests"> 56 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.clientstack.lindenudp.tests">
54 <arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> 57 <arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" />
55 </exec> 58 </exec>
59 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" />
56 60
57 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.scriptengine.tests"> 61 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.scriptengine.tests">
58 <arg value="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> 62 <arg value="./bin/OpenSim.Region.ScriptEngine.Tests.dll" />
59 </exec> 63 </exec>
64 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" />
60 65
61 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.coremodules.tests"> 66 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.coremodules.tests">
62 <arg value="./bin/OpenSim.Region.CoreModules.Tests.dll" /> 67 <arg value="./bin/OpenSim.Region.CoreModules.Tests.dll" />
63 </exec> 68 </exec>
69 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" />
64 70
65 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.framework.tests"> 71 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.framework.tests">
66 <arg value="./bin/OpenSim.Region.Framework.Tests.dll" /> 72 <arg value="./bin/OpenSim.Region.Framework.Tests.dll" />
67 </exec> 73 </exec>
74 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" />
68 75
69 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.data.sqlite.tests"> 76 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.data.sqlite.tests">
70 <arg value="./bin/OpenSim.Data.SQLite.Tests.dll" /> 77 <arg value="./bin/OpenSim.Data.SQLite.Tests.dll" />
71 </exec> 78 </exec>
79 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.sqlite.tests)==0}" />
72 80
73 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.data.mysql.tests"> 81 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.data.mysql.tests">
74 <arg value="./bin/OpenSim.Data.MySQL.Tests.dll" /> 82 <arg value="./bin/OpenSim.Data.MySQL.Tests.dll" />
75 </exec> 83 </exec>
76
77 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" />
78 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" />
79 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.sqlite.tests)==0}" />
80 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" /> 84 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" />
81 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" />
82 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" />
83 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" />
84 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" />
85 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" />
86 85
87</target> 86</target>
88 87