aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.nant
diff options
context:
space:
mode:
Diffstat (limited to '.nant')
-rw-r--r--.nant/local.include11
1 files changed, 11 insertions, 0 deletions
diff --git a/.nant/local.include b/.nant/local.include
index 0c23e50..4fa3e4d 100644
--- a/.nant/local.include
+++ b/.nant/local.include
@@ -111,6 +111,17 @@
111 <delete dir="%temp%"/> 111 <delete dir="%temp%"/>
112</target> 112</target>
113 113
114<target name="torture" depends="build, find-nunit">
115 <setenv name="MONO_THREADS_PER_CPU" value="100" />
116
117 <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.torture">
118 <arg value="./bin/OpenSim.Tests.Torture.dll" />
119 </exec>
120
121 <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.tests.torture)==0}" />
122 <delete dir="%temp%"/>
123</target>
124
114<target name="find-nunit"> 125<target name="find-nunit">
115 <exec program="which" failonerror="false" 126 <exec program="which" failonerror="false"
116 resultproperty="hasnunit2"> 127 resultproperty="hasnunit2">