diff options
Diffstat (limited to '')
-rw-r--r-- | .nant/local.include | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.nant/local.include b/.nant/local.include index 6d3e972..181c875 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -135,6 +135,17 @@ | |||
135 | <delete dir="%temp%"/> | 135 | <delete dir="%temp%"/> |
136 | </target> | 136 | </target> |
137 | 137 | ||
138 | <target name="test-stress" depends="build, find-nunit"> | ||
139 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> | ||
140 | |||
141 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.stress"> | ||
142 | <arg value="./bin/OpenSim.Tests.Stress.dll" /> | ||
143 | </exec> | ||
144 | |||
145 | <fail message="Failures reported in stress tests." unless="${int::parse(testresult.opensim.tests.stress)==0}" /> | ||
146 | <delete dir="%temp%"/> | ||
147 | </target> | ||
148 | |||
138 | <target name="torture" depends="build, find-nunit"> | 149 | <target name="torture" depends="build, find-nunit"> |
139 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> | 150 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> |
140 | 151 | ||
@@ -142,7 +153,7 @@ | |||
142 | <arg value="./bin/OpenSim.Tests.Torture.dll" /> | 153 | <arg value="./bin/OpenSim.Tests.Torture.dll" /> |
143 | </exec> | 154 | </exec> |
144 | 155 | ||
145 | <fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.tests.torture)==0}" /> | 156 | <fail message="Failures reported in torture tests." unless="${int::parse(testresult.opensim.tests.torture)==0}" /> |
146 | <delete dir="%temp%"/> | 157 | <delete dir="%temp%"/> |
147 | </target> | 158 | </target> |
148 | 159 | ||