aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.nant
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-01-31 19:56:37 +0000
committerJustin Clark-Casey (justincc)2012-01-31 19:56:37 +0000
commitf3780b9eaeae8834c49f6e2f6045ef922916924d (patch)
tree59c334a043cbf9d3bf6c50527cadacd2fcc652f7 /.nant
parentFix:llSetText - limited text to a maximum of 254 chars (diff)
downloadopensim-SC_OLD-f3780b9eaeae8834c49f6e2f6045ef922916924d.zip
opensim-SC_OLD-f3780b9eaeae8834c49f6e2f6045ef922916924d.tar.gz
opensim-SC_OLD-f3780b9eaeae8834c49f6e2f6045ef922916924d.tar.bz2
opensim-SC_OLD-f3780b9eaeae8834c49f6e2f6045ef922916924d.tar.xz
Add torture tests to test adding 10,000, 100,000 and 200,000 single prim scene objects.
These can be run using the "nant torture" target. They are not part of "nant test" due to their long-run future nature. Such tests are designed to do some testing of extreme situations and give some feedback on memory usage, etc. However, data can be inconsistent due to different machine circumstances and virtual machine actions. This area is under development.
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 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">