create a "nant test" target to make it very simple to run the nunit

tests on the console on linux.
0.6.0-stable
Sean Dague 2008-09-04 22:24:45 +00:00
parent d363661a7e
commit 8e6062631c
1 changed files with 15 additions and 0 deletions

View File

@ -27,6 +27,21 @@
<touch file="${projectdir}/bin/startup_commands.txt" />
</target>
<target name="test" depends="build">
<nunit2 failonerror="true" verbose="true">
<formatter type="Plain" />
<test>
<assemblies>
<include name="./bin/OpenSim.Tests.Framework.dll" />
<include name="./bin/OpenSim.Tests.Region.ScriptEngine.Common.Tests.dll" />
<include name="./bin/OpenSim.Tests.Region.ScriptEngine.Shared.Tests.dll" />
<include name="./bin/OpenSim.Tests.Region.ScriptEngine.Shared.CodeTools.dll" />
<include name="./bin/OpenSim.Region.Environment.dll" />
</assemblies>
</test>
</nunit2>
</target>
<target name="dist" depends="distdir">
<zip zipfile="${projectdir}.zip">
<fileset basedir=".">