aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.nant
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2009-09-03 19:41:38 +0100
committerJustin Clark-Casey (justincc)2009-09-03 19:41:38 +0100
commit64fa23df7c1ab196ec1b901839e71837403b29ce (patch)
tree763fb059511e1e8c71395844ff485d5baaa83e27 /.nant
parentMerge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-64fa23df7c1ab196ec1b901839e71837403b29ce.zip
opensim-SC_OLD-64fa23df7c1ab196ec1b901839e71837403b29ce.tar.gz
opensim-SC_OLD-64fa23df7c1ab196ec1b901839e71837403b29ce.tar.bz2
opensim-SC_OLD-64fa23df7c1ab196ec1b901839e71837403b29ce.tar.xz
If a test dll fails, stop immediately rather than trying all the other test dlls
This is very useful behaviour if debugging test failures otherwise it's hard to pick out the test output Also, some minor method shuffling in the iar module
Diffstat (limited to '.nant')
-rw-r--r--.nant/local.include35
1 files changed, 17 insertions, 18 deletions
diff --git a/.nant/local.include b/.nant/local.include
index 510bdc6..6ad893a 100644
--- a/.nant/local.include
+++ b/.nant/local.include
@@ -37,48 +37,47 @@
37 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.tests"> 37 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.tests">
38 <arg value="./bin/OpenSim.Framework.Tests.dll" /> 38 <arg value="./bin/OpenSim.Framework.Tests.dll" />
39 </exec> 39 </exec>
40 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" />
40 41
41 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.communications.tests"> 42 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.communications.tests">
42 <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" /> 43 <arg value="./bin/OpenSim.Framework.Communications.Tests.dll" />
43 </exec> 44 </exec>
45 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" />
44 46
45 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.servers.tests"> 47 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.servers.tests">
46 <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" /> 48 <arg value="./bin/OpenSim.Framework.Servers.Tests.dll" />
47 </exec> 49 </exec>
50 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" />
48 51
49 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.clientstack.lindenudp.tests"> 52 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.clientstack.lindenudp.tests">
50 <arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> 53 <arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" />
51 </exec> 54 </exec>
55 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" />
52 56
53 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.scriptengine.tests"> 57 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.scriptengine.tests">
54 <arg value="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> 58 <arg value="./bin/OpenSim.Region.ScriptEngine.Tests.dll" />
55 </exec> 59 </exec>
60 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" />
56 61
57 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.coremodules.tests"> 62 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.coremodules.tests">
58 <arg value="./bin/OpenSim.Region.CoreModules.Tests.dll" /> 63 <arg value="./bin/OpenSim.Region.CoreModules.Tests.dll" />
59 </exec> 64 </exec>
65 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" />
60 66
61 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.framework.tests"> 67 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.region.framework.tests">
62 <arg value="./bin/OpenSim.Region.Framework.Tests.dll" /> 68 <arg value="./bin/OpenSim.Region.Framework.Tests.dll" />
63 </exec> 69 </exec>
70 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" />
64 71
65 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.data.sqlite.tests"> 72 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.data.sqlite.tests">
66 <arg value="./bin/OpenSim.Data.SQLite.Tests.dll" /> 73 <arg value="./bin/OpenSim.Data.SQLite.Tests.dll" />
67 </exec> 74 </exec>
75 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.sqlite.tests)==0}" />
68 76
69 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.data.mysql.tests"> 77 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.data.mysql.tests">
70 <arg value="./bin/OpenSim.Data.MySQL.Tests.dll" /> 78 <arg value="./bin/OpenSim.Data.MySQL.Tests.dll" />
71 </exec> 79 </exec>
72 80 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" />
73 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" />
74 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" />
75 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" />
76 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" />
77 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" />
78 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" />
79 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" />
80 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.sqlite.tests)==0}" />
81 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" />
82 81
83</target> 82</target>
84 83