1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <!-- NAnt build file for System_test.dll -->
4 <!-- Target build (default) builds tests -->
5 <!-- Target test runs tests -->
7 <project name="System_test" default="build">
8 <property name="debug" value="false"/>
9 <property name="nunit_home" value="..\..\..\nunit"/>
14 <target name="assemblies">
15 <csc target="library" output="System_test.dll" debug="${debug}">
17 <includes name="**/*.cs"/>
18 <excludes name="TheTests.cs"/>
20 <references basedir="..\..\..\nunit">
21 <includes name="NUnitCore.dll"/>
24 <arg value="/noconfig"/>
25 <arg value="/r:.\System.dll"/>
28 <csc target="exe" output="RunTests.System.exe" debug="${debug}">
30 <includes name="**/*.cs"/>
31 <excludes name="**/AllTests.cs"/>
32 <excludes name="**/MartinTests.cs"/>
34 <references basedir="..\..\..\nunit">
35 <includes name="NUnitBase.dll"/>
37 <references basedir=".">
38 <includes name="System.dll"/>
40 <arg value="/nowarn:1595"/>
41 <arg value="/noconfig"/>
42 <arg value="/r:.\System.dll"/>
47 <target name="test" depends="assemblies">
48 <exec program="..\..\..\nunit\NUnitConsole" commandline="Ximian.Mono.Tests.AllTests,System_test.dll" failonerror="false"/>
52 <delete file="System_test.dll" failonerror="false"/>