From ce0a8d7beffccbaeb6b603a96b7729278c4c9e75 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 8 Sep 2008 20:34:45 +0000 Subject: [PATCH] changes to Test directory structure per opensim-dev conversation --- .nant/bamboo.build | 8 ++++---- .nant/local.include | 8 ++++---- Makefile | 7 +++++-- .../Framework => Framework/Tests}/UtilTest.cs | 0 .../Common/Tests}/LSL_TypesTestLSLFloat.cs | 0 .../Common/Tests}/LSL_TypesTestLSLInteger.cs | 0 .../Common/Tests}/LSL_TypesTestLSLString.cs | 0 .../Common/Tests}/LSL_TypesTestList.cs | 0 .../Common/Tests}/LSL_TypesTestVector3.cs | 0 .../CodeTools/Tests}/CSCodeGeneratorTest.cs | 0 .../Shared/CodeTools/Tests}/CompilerTest.cs | 0 .../Shared/Tests}/LSL_TypesTestLSLFloat.cs | 0 .../Shared/Tests}/LSL_TypesTestLSLInteger.cs | 0 .../Shared/Tests}/LSL_TypesTestLSLString.cs | 0 .../Shared/Tests}/LSL_TypesTestList.cs | 0 .../Shared/Tests}/LSL_TypesTestVector3.cs | 0 prebuild.xml | 16 ++++++++++------ 17 files changed, 23 insertions(+), 16 deletions(-) rename OpenSim/{Tests/Framework => Framework/Tests}/UtilTest.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Common => Region/ScriptEngine/Common/Tests}/LSL_TypesTestLSLFloat.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Common => Region/ScriptEngine/Common/Tests}/LSL_TypesTestLSLInteger.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Common => Region/ScriptEngine/Common/Tests}/LSL_TypesTestLSLString.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Common => Region/ScriptEngine/Common/Tests}/LSL_TypesTestList.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Common => Region/ScriptEngine/Common/Tests}/LSL_TypesTestVector3.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Shared/CodeTools => Region/ScriptEngine/Shared/CodeTools/Tests}/CSCodeGeneratorTest.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Shared/CodeTools => Region/ScriptEngine/Shared/CodeTools/Tests}/CompilerTest.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Shared => Region/ScriptEngine/Shared/Tests}/LSL_TypesTestLSLFloat.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Shared => Region/ScriptEngine/Shared/Tests}/LSL_TypesTestLSLInteger.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Shared => Region/ScriptEngine/Shared/Tests}/LSL_TypesTestLSLString.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Shared => Region/ScriptEngine/Shared/Tests}/LSL_TypesTestList.cs (100%) rename OpenSim/{Tests/Region/ScriptEngine/Shared => Region/ScriptEngine/Shared/Tests}/LSL_TypesTestVector3.cs (100%) diff --git a/.nant/bamboo.build b/.nant/bamboo.build index 8fe4c636e6..fcb22b15bf 100644 --- a/.nant/bamboo.build +++ b/.nant/bamboo.build @@ -35,10 +35,10 @@ - - - - + + + + diff --git a/.nant/local.include b/.nant/local.include index 7d0b690b29..0328d42b32 100644 --- a/.nant/local.include +++ b/.nant/local.include @@ -32,10 +32,10 @@ - - - - + + + + diff --git a/Makefile b/Makefile index af504acc00..a1858b7057 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,18 @@ NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi) all: - @export PATH=/usr/local/bin:$(PATH) + # @export PATH=/usr/local/bin:$(PATH) ./runprebuild.sh ${NANT} find OpenSim -name \*.mdb -exec cp {} bin \; clean: - @export PATH=/usr/local/bin:$(PATH) + # @export PATH=/usr/local/bin:$(PATH) ${NANT} clean +test: + ${NANT} test + tags: find OpenSim -name \*\.cs | xargs etags diff --git a/OpenSim/Tests/Framework/UtilTest.cs b/OpenSim/Framework/Tests/UtilTest.cs similarity index 100% rename from OpenSim/Tests/Framework/UtilTest.cs rename to OpenSim/Framework/Tests/UtilTest.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestLSLFloat.cs b/OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestLSLFloat.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestLSLFloat.cs rename to OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestLSLFloat.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestLSLInteger.cs b/OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestLSLInteger.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestLSLInteger.cs rename to OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestLSLInteger.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestLSLString.cs b/OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestLSLString.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestLSLString.cs rename to OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestLSLString.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestList.cs b/OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestList.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestList.cs rename to OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestList.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestVector3.cs b/OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestVector3.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Common/LSL_TypesTestVector3.cs rename to OpenSim/Region/ScriptEngine/Common/Tests/LSL_TypesTestVector3.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CSCodeGeneratorTest.cs rename to OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CSCodeGeneratorTest.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CompilerTest.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools/CompilerTest.cs rename to OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests/CompilerTest.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestLSLFloat.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestLSLFloat.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestLSLFloat.cs rename to OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestLSLFloat.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestLSLInteger.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestLSLInteger.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestLSLInteger.cs rename to OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestLSLInteger.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestLSLString.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestLSLString.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestLSLString.cs rename to OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestLSLString.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestList.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestList.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestList.cs rename to OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestList.cs diff --git a/OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestVector3.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestVector3.cs similarity index 100% rename from OpenSim/Tests/Region/ScriptEngine/Shared/LSL_TypesTestVector3.cs rename to OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestVector3.cs diff --git a/prebuild.xml b/prebuild.xml index bd75843c7d..abf83d4112 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -125,7 +125,7 @@ - + ../../../bin/ @@ -1496,7 +1496,7 @@ - + ../../../../../bin/ @@ -1651,11 +1651,13 @@ - + + + - + ../../../../../../bin/ @@ -1974,11 +1976,13 @@ - + + + - + ../../../../../bin/