aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.nant/local.include
diff options
context:
space:
mode:
authorMarck2010-08-11 16:31:26 +0200
committerJustin Clark-Casey (justincc)2010-08-13 23:59:33 +0100
commitfcc83f2305f6da6fc93b6f94ef7dbd4a1737568a (patch)
tree32b79064d9c1062654f9b6b92ce66e4ce471b498 /.nant/local.include
parentConfiguration files can read include files from relative paths. (diff)
downloadopensim-SC_OLD-fcc83f2305f6da6fc93b6f94ef7dbd4a1737568a.zip
opensim-SC_OLD-fcc83f2305f6da6fc93b6f94ef7dbd4a1737568a.tar.gz
opensim-SC_OLD-fcc83f2305f6da6fc93b6f94ef7dbd4a1737568a.tar.bz2
opensim-SC_OLD-fcc83f2305f6da6fc93b6f94ef7dbd4a1737568a.tar.xz
Unit test for ConfigurationLoader.
Adds a new test assembly for OpenSim.
Diffstat (limited to '')
-rw-r--r--.nant/local.include11
1 files changed, 11 insertions, 0 deletions
diff --git a/.nant/local.include b/.nant/local.include
index 0279f25..97c0c0f 100644
--- a/.nant/local.include
+++ b/.nant/local.include
@@ -91,6 +91,11 @@
91 the assembly here as an exec, and you add the fail clause later. 91 the assembly here as an exec, and you add the fail clause later.
92 This lets all the unit tests run and tells you if they fail at the 92 This lets all the unit tests run and tells you if they fail at the
93 end, instead of stopping short --> 93 end, instead of stopping short -->
94 <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests">
95 <arg value="./bin/OpenSim.Tests.dll" />
96 </exec>
97 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.tests)==0}" />
98
94 <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.framework.tests"> 99 <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.framework.tests">
95 <arg value="./bin/OpenSim.Framework.Tests.dll" /> 100 <arg value="./bin/OpenSim.Framework.Tests.dll" />
96 </exec> 101 </exec>
@@ -256,6 +261,11 @@
256 261
257 <mkdir dir="test-results" failonerror="false" /> 262 <mkdir dir="test-results" failonerror="false" />
258 <!-- Unit Test Assembly --> 263 <!-- Unit Test Assembly -->
264 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.tests">
265 <arg value="./bin/OpenSim.Tests.dll" />
266 <arg value="-xml=test-results/OpenSim.Tests.dll-Results.xml" />
267 </exec>
268
259 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.tests"> 269 <exec program="${nunitcmd}" failonerror="false" resultproperty="testresult.opensim.framework.tests">
260 <arg value="./bin/OpenSim.Framework.Tests.dll" /> 270 <arg value="./bin/OpenSim.Framework.Tests.dll" />
261 <arg value="-xml=test-results/OpenSim.Framework.Tests.dll-Results.xml" /> 271 <arg value="-xml=test-results/OpenSim.Framework.Tests.dll-Results.xml" />
@@ -298,6 +308,7 @@
298 <arg value="-xml=test-results/OpenSim.Data.Tests.dll-Results.xml" /> 308 <arg value="-xml=test-results/OpenSim.Data.Tests.dll-Results.xml" />
299 </exec> 309 </exec>
300 310
311 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.tests)==0}" />
301 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" /> 312 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" />
302 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" /> 313 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" />
303<!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" /> --> 314<!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" /> -->