diff options
author | Sean Dague | 2008-09-04 22:24:45 +0000 |
---|---|---|
committer | Sean Dague | 2008-09-04 22:24:45 +0000 |
commit | 8e6062631cf56eab34252edeb0b5451a6873d37d (patch) | |
tree | 88c0296eb1064b307a352d491d556e49bf9874d6 /.nant | |
parent | complete rationalization of unit tests that we currently run (diff) | |
download | opensim-SC-8e6062631cf56eab34252edeb0b5451a6873d37d.zip opensim-SC-8e6062631cf56eab34252edeb0b5451a6873d37d.tar.gz opensim-SC-8e6062631cf56eab34252edeb0b5451a6873d37d.tar.bz2 opensim-SC-8e6062631cf56eab34252edeb0b5451a6873d37d.tar.xz |
create a "nant test" target to make it very simple to run the nunit
tests on the console on linux.
Diffstat (limited to '.nant')
-rw-r--r-- | .nant/local.include | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.nant/local.include b/.nant/local.include index 2580af6..5a787d4 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -27,6 +27,21 @@ | |||
27 | <touch file="${projectdir}/bin/startup_commands.txt" /> | 27 | <touch file="${projectdir}/bin/startup_commands.txt" /> |
28 | </target> | 28 | </target> |
29 | 29 | ||
30 | <target name="test" depends="build"> | ||
31 | <nunit2 failonerror="true" verbose="true"> | ||
32 | <formatter type="Plain" /> | ||
33 | <test> | ||
34 | <assemblies> | ||
35 | <include name="./bin/OpenSim.Tests.Framework.dll" /> | ||
36 | <include name="./bin/OpenSim.Tests.Region.ScriptEngine.Common.Tests.dll" /> | ||
37 | <include name="./bin/OpenSim.Tests.Region.ScriptEngine.Shared.Tests.dll" /> | ||
38 | <include name="./bin/OpenSim.Tests.Region.ScriptEngine.Shared.CodeTools.dll" /> | ||
39 | <include name="./bin/OpenSim.Region.Environment.dll" /> | ||
40 | </assemblies> | ||
41 | </test> | ||
42 | </nunit2> | ||
43 | </target> | ||
44 | |||
30 | <target name="dist" depends="distdir"> | 45 | <target name="dist" depends="distdir"> |
31 | <zip zipfile="${projectdir}.zip"> | 46 | <zip zipfile="${projectdir}.zip"> |
32 | <fileset basedir="."> | 47 | <fileset basedir="."> |