create a "nant test" target to make it very simple to run the nunit
tests on the console on linux.0.6.0-stable
parent
d363661a7e
commit
8e6062631c
|
@ -27,6 +27,21 @@
|
||||||
<touch file="${projectdir}/bin/startup_commands.txt" />
|
<touch file="${projectdir}/bin/startup_commands.txt" />
|
||||||
</target>
|
</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">
|
<target name="dist" depends="distdir">
|
||||||
<zip zipfile="${projectdir}.zip">
|
<zip zipfile="${projectdir}.zip">
|
||||||
<fileset basedir=".">
|
<fileset basedir=".">
|
||||||
|
|
Loading…
Reference in New Issue