diff options
author | Justin Clark-Casey (justincc) | 2012-08-29 23:04:00 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-29 23:04:00 +0100 |
commit | ec726413ddcd8632efb2603b968554647419708d (patch) | |
tree | 5b7a448f2921047e0f97695b80e017c4ccb3ec90 /.nant/local.include | |
parent | implementing rule tracking (diff) | |
download | opensim-SC-ec726413ddcd8632efb2603b968554647419708d.zip opensim-SC-ec726413ddcd8632efb2603b968554647419708d.tar.gz opensim-SC-ec726413ddcd8632efb2603b968554647419708d.tar.bz2 opensim-SC-ec726413ddcd8632efb2603b968554647419708d.tar.xz |
Add VectorRenderModuleStressTests that contains a long running test that generates thousands of vector textures concurrently.
Intended for use if there are future issues with mono crashes whilst generate dynamic textures.
This test is triggered via a new test-stress nant target.
Not run by default.
Diffstat (limited to '.nant/local.include')
-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 | ||