diff options
author | Justin Clark-Casey (justincc) | 2012-08-29 23:19:21 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-29 23:19:21 +0100 |
commit | adce58b33a39c9456468f6d25834a8a7bded5adf (patch) | |
tree | 1594f527c86722454829c9a3367e40e19800f2d7 | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-adce58b33a39c9456468f6d25834a8a7bded5adf.zip opensim-SC_OLD-adce58b33a39c9456468f6d25834a8a7bded5adf.tar.gz opensim-SC_OLD-adce58b33a39c9456468f6d25834a8a7bded5adf.tar.bz2 opensim-SC_OLD-adce58b33a39c9456468f6d25834a8a7bded5adf.tar.xz |
Renaming existing 'torture' tests to 'performance' tests instead, since this better matches what they really do.
nant target name changes to test-perf instead of torture, to match test-stress
still not run by default
-rw-r--r-- | .nant/local.include | 8 | ||||
-rw-r--r-- | OpenSim/Tests/Performance/NPCPerformanceTests.cs (renamed from OpenSim/Tests/Torture/NPCTortureTests.cs) | 6 | ||||
-rw-r--r-- | OpenSim/Tests/Performance/ObjectPerformanceTests.cs (renamed from OpenSim/Tests/Torture/ObjectTortureTests.cs) | 6 | ||||
-rw-r--r-- | OpenSim/Tests/Performance/ScriptPerformanceTests.cs (renamed from OpenSim/Tests/Torture/ScriptTortureTests.cs) | 6 | ||||
-rw-r--r-- | prebuild.xml | 2 |
5 files changed, 14 insertions, 14 deletions
diff --git a/.nant/local.include b/.nant/local.include index 181c875..35f0058 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -146,14 +146,14 @@ | |||
146 | <delete dir="%temp%"/> | 146 | <delete dir="%temp%"/> |
147 | </target> | 147 | </target> |
148 | 148 | ||
149 | <target name="torture" depends="build, find-nunit"> | 149 | <target name="test-perf" depends="build, find-nunit"> |
150 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> | 150 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> |
151 | 151 | ||
152 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.torture"> | 152 | <exec program="${nunitcmd}" failonerror="true" resultproperty="testresult.opensim.tests.performance"> |
153 | <arg value="./bin/OpenSim.Tests.Torture.dll" /> | 153 | <arg value="./bin/OpenSim.Tests.Performance.dll" /> |
154 | </exec> | 154 | </exec> |
155 | 155 | ||
156 | <fail message="Failures reported in torture tests." unless="${int::parse(testresult.opensim.tests.torture)==0}" /> | 156 | <fail message="Failures reported in performance tests." unless="${int::parse(testresult.opensim.tests.performance)==0}" /> |
157 | <delete dir="%temp%"/> | 157 | <delete dir="%temp%"/> |
158 | </target> | 158 | </target> |
159 | 159 | ||
diff --git a/OpenSim/Tests/Torture/NPCTortureTests.cs b/OpenSim/Tests/Performance/NPCPerformanceTests.cs index 731df68..627765b 100644 --- a/OpenSim/Tests/Torture/NPCTortureTests.cs +++ b/OpenSim/Tests/Performance/NPCPerformanceTests.cs | |||
@@ -47,10 +47,10 @@ using OpenSim.Services.AvatarService; | |||
47 | using OpenSim.Tests.Common; | 47 | using OpenSim.Tests.Common; |
48 | using OpenSim.Tests.Common.Mock; | 48 | using OpenSim.Tests.Common.Mock; |
49 | 49 | ||
50 | namespace OpenSim.Tests.Torture | 50 | namespace OpenSim.Tests.Performance |
51 | { | 51 | { |
52 | /// <summary> | 52 | /// <summary> |
53 | /// NPC torture tests | 53 | /// NPC performance tests |
54 | /// </summary> | 54 | /// </summary> |
55 | /// <remarks> | 55 | /// <remarks> |
56 | /// Don't rely on the numbers given by these tests - they will vary a lot depending on what is already cached, | 56 | /// Don't rely on the numbers given by these tests - they will vary a lot depending on what is already cached, |
@@ -58,7 +58,7 @@ namespace OpenSim.Tests.Torture | |||
58 | /// earlier tests. | 58 | /// earlier tests. |
59 | /// </remarks> | 59 | /// </remarks> |
60 | [TestFixture] | 60 | [TestFixture] |
61 | public class NPCTortureTests | 61 | public class NPCPerformanceTests |
62 | { | 62 | { |
63 | private TestScene scene; | 63 | private TestScene scene; |
64 | private AvatarFactoryModule afm; | 64 | private AvatarFactoryModule afm; |
diff --git a/OpenSim/Tests/Torture/ObjectTortureTests.cs b/OpenSim/Tests/Performance/ObjectPerformanceTests.cs index 195d47b..2264d86 100644 --- a/OpenSim/Tests/Torture/ObjectTortureTests.cs +++ b/OpenSim/Tests/Performance/ObjectPerformanceTests.cs | |||
@@ -36,10 +36,10 @@ using OpenSim.Region.Framework.Scenes; | |||
36 | using OpenSim.Tests.Common; | 36 | using OpenSim.Tests.Common; |
37 | using OpenSim.Tests.Common.Mock; | 37 | using OpenSim.Tests.Common.Mock; |
38 | 38 | ||
39 | namespace OpenSim.Tests.Torture | 39 | namespace OpenSim.Tests.Performance |
40 | { | 40 | { |
41 | /// <summary> | 41 | /// <summary> |
42 | /// Object torture tests | 42 | /// Object performance tests |
43 | /// </summary> | 43 | /// </summary> |
44 | /// <remarks> | 44 | /// <remarks> |
45 | /// Don't rely on the numbers given by these tests - they will vary a lot depending on what is already cached, | 45 | /// Don't rely on the numbers given by these tests - they will vary a lot depending on what is already cached, |
@@ -47,7 +47,7 @@ namespace OpenSim.Tests.Torture | |||
47 | /// earlier tests. | 47 | /// earlier tests. |
48 | /// </remarks> | 48 | /// </remarks> |
49 | [TestFixture] | 49 | [TestFixture] |
50 | public class ObjectTortureTests | 50 | public class ObjectPerformanceTests |
51 | { | 51 | { |
52 | [TearDown] | 52 | [TearDown] |
53 | public void TearDown() | 53 | public void TearDown() |
diff --git a/OpenSim/Tests/Torture/ScriptTortureTests.cs b/OpenSim/Tests/Performance/ScriptPerformanceTests.cs index 24f278f..d708abd 100644 --- a/OpenSim/Tests/Torture/ScriptTortureTests.cs +++ b/OpenSim/Tests/Performance/ScriptPerformanceTests.cs | |||
@@ -42,10 +42,10 @@ using OpenSim.Region.ScriptEngine.XEngine; | |||
42 | using OpenSim.Tests.Common; | 42 | using OpenSim.Tests.Common; |
43 | using OpenSim.Tests.Common.Mock; | 43 | using OpenSim.Tests.Common.Mock; |
44 | 44 | ||
45 | namespace OpenSim.Tests.Torture | 45 | namespace OpenSim.Tests.Performance |
46 | { | 46 | { |
47 | /// <summary> | 47 | /// <summary> |
48 | /// Script torture tests | 48 | /// Script performance tests |
49 | /// </summary> | 49 | /// </summary> |
50 | /// <remarks> | 50 | /// <remarks> |
51 | /// Don't rely on the numbers given by these tests - they will vary a lot depending on what is already cached, | 51 | /// Don't rely on the numbers given by these tests - they will vary a lot depending on what is already cached, |
@@ -53,7 +53,7 @@ namespace OpenSim.Tests.Torture | |||
53 | /// earlier tests. | 53 | /// earlier tests. |
54 | /// </remarks> | 54 | /// </remarks> |
55 | [TestFixture] | 55 | [TestFixture] |
56 | public class ScriptTortureTests | 56 | public class ScriptPerformanceTests |
57 | { | 57 | { |
58 | private TestScene m_scene; | 58 | private TestScene m_scene; |
59 | private XEngine m_xEngine; | 59 | private XEngine m_xEngine; |
diff --git a/prebuild.xml b/prebuild.xml index d9c1607..0f34713 100644 --- a/prebuild.xml +++ b/prebuild.xml | |||
@@ -3290,7 +3290,7 @@ | |||
3290 | </Files> | 3290 | </Files> |
3291 | </Project> | 3291 | </Project> |
3292 | 3292 | ||
3293 | <Project frameworkVersion="v3_5" name="OpenSim.Tests.Torture" path="OpenSim/Tests/Torture" type="Library"> | 3293 | <Project frameworkVersion="v3_5" name="OpenSim.Tests.Performance" path="OpenSim/Tests/Performance" type="Library"> |
3294 | <Configuration name="Debug"> | 3294 | <Configuration name="Debug"> |
3295 | <Options> | 3295 | <Options> |
3296 | <OutputPath>../../../bin/</OutputPath> | 3296 | <OutputPath>../../../bin/</OutputPath> |