1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <!-- NAnt build file for corlib_test.dll -->
4 <!-- Target build (default) builds tests -->
5 <!-- Target test runs tests -->
7 <project name="corlib_test" default="build">
8 <property name="debug" value="false"/>
9 <property name="nunit_home" value="..\..\..\nunit"/>
12 <csc target="library" output="corlib_test.dll" debug="${debug}">
14 <includes name="**/*.cs"/>
15 <excludes name="System/IntegerFormatterTest.cs"/>
16 <excludes name="System/Int64Test.cs"/>
17 <excludes name="System/IntegerFormatterTest.cs"/>
19 <references basedir="..\..\..\nunit">
20 <includes name="NUnitCore.dll"/>
22 <arg value="/r:corlib_res.dll"/>
23 <arg value="/nowarn:1595"/>
26 <csc target="library" output="corlib_reference.dll" debug="${debug}">
28 <includes name="**/*.cs"/>
29 <excludes name="System/IntegerFormatterTest.cs"/>
30 <excludes name="System/Int64Test.cs"/>
31 <excludes name="System/IntegerFormatterTest.cs"/>
33 <references basedir="..\..\..\nunit">
34 <includes name="NUnitCore.dll"/>
36 <arg value="/nowarn:1595"/>
41 <target name="test" depends="build">
42 <exec program="..\..\..\nunit\NUnitConsole" commandline="MonoTests.AllTests,corlib_test.dll" failonerror="false"/>
43 <exec program="..\..\..\nunit\NUnitConsole" commandline="MonoTests.AllTests,corlib_reference.dll" failonerror="false"/>
47 <delete file="corlib_test.dll" failonerror="false"/>