changes to Test directory structure per opensim-dev conversation

0.6.0-stable
Sean Dague 2008-09-08 20:34:45 +00:00
parent 41a68ca5db
commit ce0a8d7bef
17 changed files with 23 additions and 16 deletions

View File

@ -35,10 +35,10 @@
<formatter type="Xml" usefile="true" extension=".xml" outputdir="../test-results" /> <formatter type="Xml" usefile="true" extension=".xml" outputdir="../test-results" />
<test> <test>
<assemblies> <assemblies>
<include name="../bin/OpenSim.Tests.Framework.dll" /> <include name="../bin/OpenSim.Framework.Tests.dll" />
<include name="../bin/OpenSim.Tests.Region.ScriptEngine.Common.dll" /> <include name="../bin/OpenSim.Region.ScriptEngine.Common.Tests.dll" />
<include name="../bin/OpenSim.Tests.Region.ScriptEngine.Shared.dll" /> <include name="../bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" />
<include name="../bin/OpenSim.Tests.Region.ScriptEngine.Shared.CodeTools.dll" /> <include name="../bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" />
<include name="../bin/OpenSim.Region.Environment.dll" /> <include name="../bin/OpenSim.Region.Environment.dll" />
</assemblies> </assemblies>
</test> </test>

View File

@ -32,10 +32,10 @@
<formatter type="Plain" /> <formatter type="Plain" />
<test> <test>
<assemblies> <assemblies>
<include name="./bin/OpenSim.Tests.Framework.dll" /> <include name="./bin/OpenSim.Framework.Tests.dll" />
<include name="./bin/OpenSim.Tests.Region.ScriptEngine.Common.dll" /> <include name="./bin/OpenSim.Region.ScriptEngine.Common.Tests.dll" />
<include name="./bin/OpenSim.Tests.Region.ScriptEngine.Shared.dll" /> <include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" />
<include name="./bin/OpenSim.Tests.Region.ScriptEngine.Shared.CodeTools.dll" /> <include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" />
<include name="./bin/OpenSim.Region.Environment.dll" /> <include name="./bin/OpenSim.Region.Environment.dll" />
</assemblies> </assemblies>
</test> </test>

View File

@ -1,15 +1,18 @@
NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi) NANT = $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi)
all: all:
@export PATH=/usr/local/bin:$(PATH) # @export PATH=/usr/local/bin:$(PATH)
./runprebuild.sh ./runprebuild.sh
${NANT} ${NANT}
find OpenSim -name \*.mdb -exec cp {} bin \; find OpenSim -name \*.mdb -exec cp {} bin \;
clean: clean:
@export PATH=/usr/local/bin:$(PATH) # @export PATH=/usr/local/bin:$(PATH)
${NANT} clean ${NANT} clean
test:
${NANT} test
tags: tags:
find OpenSim -name \*\.cs | xargs etags find OpenSim -name \*\.cs | xargs etags

View File

@ -125,7 +125,7 @@
</Files> </Files>
</Project> </Project>
<Project name="OpenSim.Tests.Framework" path="OpenSim/Tests/Framework" type="Library"> <Project name="OpenSim.Framework.Tests" path="OpenSim/Framework/Tests" type="Library">
<Configuration name="Debug"> <Configuration name="Debug">
<Options> <Options>
<OutputPath>../../../bin/</OutputPath> <OutputPath>../../../bin/</OutputPath>
@ -1496,7 +1496,7 @@
</Files> </Files>
</Project> </Project>
<Project name="OpenSim.Tests.Region.ScriptEngine.Shared" path="OpenSim/Tests/Region/ScriptEngine/Shared" type="Library"> <Project name="OpenSim.Region.ScriptEngine.Shared.Tests" path="OpenSim/Region/ScriptEngine/Shared/Tests" type="Library">
<Configuration name="Debug"> <Configuration name="Debug">
<Options> <Options>
<OutputPath>../../../../../bin/</OutputPath> <OutputPath>../../../../../bin/</OutputPath>
@ -1651,11 +1651,13 @@
<Reference name="Tools.dll"/> <Reference name="Tools.dll"/>
<Files> <Files>
<Match pattern="*.cs" recurse="true"/> <Match pattern="*.cs" recurse="true">
<Exclude name="Tests" pattern="Tests" />
</Match>
</Files> </Files>
</Project> </Project>
<Project name="OpenSim.Tests.Region.ScriptEngine.Shared.CodeTools" path="OpenSim/Tests/Region/ScriptEngine/Shared/CodeTools" type="Library"> <Project name="OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests" path="OpenSim/Region/ScriptEngine/Shared/CodeTools/Tests" type="Library">
<Configuration name="Debug"> <Configuration name="Debug">
<Options> <Options>
<OutputPath>../../../../../../bin/</OutputPath> <OutputPath>../../../../../../bin/</OutputPath>
@ -1974,11 +1976,13 @@
<Reference name="log4net.dll"/> <Reference name="log4net.dll"/>
<Files> <Files>
<Match pattern="*.cs" recurse="true"/> <Match pattern="*.cs" recurse="true" >
<Exclude name="Tests" pattern="Tests" />
</Match>
</Files> </Files>
</Project> </Project>
<Project name="OpenSim.Tests.Region.ScriptEngine.Common" path="OpenSim/Tests/Region/ScriptEngine/Common" type="Library"> <Project name="OpenSim.Region.ScriptEngine.Common.Tests" path="OpenSim/Region/ScriptEngine/Common/Tests" type="Library">
<Configuration name="Debug"> <Configuration name="Debug">
<Options> <Options>
<OutputPath>../../../../../bin/</OutputPath> <OutputPath>../../../../../bin/</OutputPath>