Merge branch 'master' of ssh://MyConnection/var/git/opensim
commit
deee292847
|
@ -156,25 +156,96 @@
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!-- this is used for panda test execution -->
|
||||||
|
<!-- work in progress -->
|
||||||
|
|
||||||
<target name="test-xml" depends="build">
|
<target name="test-xml" depends="build">
|
||||||
<nunit2 failonerror="true" verbose="true">
|
<mkdir dir="test-results" failonerror="false" />
|
||||||
<formatter type="Xml" usefile="true" extension=".xml" outputdir="./test-results" />
|
<!-- Unit Test Assembly -->
|
||||||
<test>
|
<exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.framework.tests">
|
||||||
<assemblies>
|
<arg value="./bin/OpenSim.Framework.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Framework.Tests.dll" />
|
<arg value="-xml=test-results/OpenSim.Framework.Tests.dll-Results.xml" />
|
||||||
<include name="./bin/OpenSim.Framework.Communications.Tests.dll"/>
|
</exec>
|
||||||
<include name="./bin/OpenSim.Framework.Servers.Tests.dll" />
|
|
||||||
<include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" />
|
<exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.framework.communications.tests">
|
||||||
<include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" />
|
<arg value="./bin/OpenSim.Framework.Communications.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Region.CoreModules.Tests.dll" />
|
<arg value="-xml=test-results/OpenSim.Framework.Communications.Tests.dll-Results.xml" />
|
||||||
<include name="./bin/OpenSim.Region.Framework.Tests.dll" />
|
</exec>
|
||||||
<include name="./bin/OpenSim.Data.SQLite.Tests.dll" />
|
|
||||||
<include name="./bin/OpenSim.Data.MySQL.Tests.dll" />
|
<exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.framework.servers.tests">
|
||||||
</assemblies>
|
<arg value="./bin/OpenSim.Framework.Servers.Tests.dll" />
|
||||||
</test>
|
<arg value="-xml=test-results/OpenSim.Framework.Servers.Tests.dll-Results.xml" />
|
||||||
</nunit2>
|
</exec>
|
||||||
|
|
||||||
|
<exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.region.clientstack.lindenudp.tests">
|
||||||
|
<arg value="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" />
|
||||||
|
<arg value="-xml=test-results/OpenSim.Region.ClientStack.LindenUDP.Tests.dll-Results.xml" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.region.scriptengine.tests">
|
||||||
|
<arg value="./bin/OpenSim.Region.ScriptEngine.Tests.dll" />
|
||||||
|
<arg value="-xml=test-results/OpenSim.Region.ScriptEngine.Tests.dll-Results.xml" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.region.coremodules.tests">
|
||||||
|
<arg value="./bin/OpenSim.Region.CoreModules.Tests.dll" />
|
||||||
|
<arg value="-xml=test-results/OpenSim.Region.CoreModules.Tests.dll-Results.xml" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.region.framework.tests">
|
||||||
|
<arg value="./bin/OpenSim.Region.Framework.Tests.dll" />
|
||||||
|
<arg value="-xml=test-results/OpenSim.Region.Framework.Tests.dll-Results.xml" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.data.sqlite.tests">
|
||||||
|
<arg value="./bin/OpenSim.Data.SQLite.Tests.dll" />
|
||||||
|
<arg value="-xml=test-results/OpenSim.Data.SQLite.Tests.dll-Results.xml" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<exec program="nunit-console2" failonerror="false" resultproperty="testresult.opensim.data.mysql.tests">
|
||||||
|
<arg value="./bin/OpenSim.Data.MySQL.Tests.dll" />
|
||||||
|
<arg value="-xml=test-results/OpenSim.Data.MySQL.Tests.dll-Results.xml" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
|
<fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.tests)==0}" />
|
||||||
|
<fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.communications.tests)==0}" />
|
||||||
|
<fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.framework.servers.tests)==0}" />
|
||||||
|
<fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.clientstack.lindenudp.tests)==0}" />
|
||||||
|
<fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.scriptengine.tests)==0}" />
|
||||||
|
<fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.coremodules.tests)==0}" />
|
||||||
|
<fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.region.framework.tests)==0}" />
|
||||||
|
<fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.sqlite.tests)==0}" />
|
||||||
|
<fail message="Failures reported in unit tests." unless="${int::parse(testresult.opensim.data.mysql.tests)==0}" />
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
<!-- <exec program="nunit-console.exe" failonerror="false" resultproperty="testresult.acceptancetestassembly"> -->
|
||||||
|
<!-- <arg value="AcceptanceTestAssembly.dll" /> -->
|
||||||
|
<!-- <arg value="/xml=AcceptanceTestAssembly-Results.xml" /> -->
|
||||||
|
<!-- </exec> -->
|
||||||
|
|
||||||
|
<!-- <fail message="Failures reported in unit tests." unless="${int::parse(testresult.unittestassembly)==0}" /> -->
|
||||||
|
<!-- <fail message="Failures reported in acceptance tests." unless="${int::parse(testresult.acceptancetestassembly)==0}" /> -->
|
||||||
|
<!-- </target> -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- <nunit2 failonerror="true" verbose="true"> -->
|
||||||
|
<!-- <formatter type="Xml" usefile="true" extension=".xml" outputdir="./test-results" /> -->
|
||||||
|
<!-- <test> -->
|
||||||
|
<!-- <assemblies> -->
|
||||||
|
<!-- <include name="./bin/OpenSim.Framework.Tests.dll" /> -->
|
||||||
|
<!-- <include name="./bin/OpenSim.Framework.Communications.Tests.dll"/> -->
|
||||||
|
<!-- <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> -->
|
||||||
|
<!-- <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> -->
|
||||||
|
<!-- <include name="./bin/OpenSim.Region.ScriptEngine.Tests.dll" /> -->
|
||||||
|
<!-- <include name="./bin/OpenSim.Region.CoreModules.Tests.dll" /> -->
|
||||||
|
<!-- <include name="./bin/OpenSim.Region.Framework.Tests.dll" /> -->
|
||||||
|
<!-- <include name="./bin/OpenSim.Data.SQLite.Tests.dll" /> -->
|
||||||
|
<!-- <include name="./bin/OpenSim.Data.MySQL.Tests.dll" /> -->
|
||||||
|
<!-- </assemblies> -->
|
||||||
|
<!-- </test> -->
|
||||||
|
<!-- </nunit2> -->
|
||||||
|
<!-- </target> -->
|
||||||
|
|
||||||
<target name="doxygen">
|
<target name="doxygen">
|
||||||
<exec program="doxygen" workingdir="doc" commandline="doxygen.conf" />
|
<exec program="doxygen" workingdir="doc" commandline="doxygen.conf" />
|
||||||
|
|
|
@ -89,3 +89,4 @@ OpenSim, as well as how to report bugs, and participate in the OpenSim
|
||||||
project can always be found at http://opensimulator.org.
|
project can always be found at http://opensimulator.org.
|
||||||
|
|
||||||
Thanks for trying OpenSim, we hope it is a pleasant experience.
|
Thanks for trying OpenSim, we hope it is a pleasant experience.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue