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