aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.nant/local.include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.nant/local.include35
1 files changed, 17 insertions, 18 deletions
diff --git a/.nant/local.include b/.nant/local.include
index 58d1ad1..8c72c80 100644
--- a/.nant/local.include
+++ b/.nant/local.include
@@ -38,51 +38,50 @@
38 the assembly here as an exec, and you add the fail clause later. 38 the assembly here as an exec, and you add the fail clause later.
39 This lets all the unit tests run and tells you if they fail at the 39 This lets all the unit tests run and tells you if they fail at the
40 end, instead of stopping short --> 40 end, instead of stopping short -->
41 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.tests"> 41 <exec program="${nunitcmd}" failonerror="true" 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="true" 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="true" 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="true" 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="true" 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="true" 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="true" 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="true" 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="true" 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