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"/>
17 <references basedir="..\..\..\nunit">
18 <includes name="NUnitCore.dll"/>
20 <arg value="/r:corlib_res.dll"/>
21 <arg value="/nowarn:1595"/>
24 <csc target="library" output="corlib_reference.dll" debug="${debug}">
26 <includes name="**/*.cs"/>
27 <excludes name="System/IntegerFormatterTest.cs"/>
29 <references basedir="..\..\..\nunit">
30 <includes name="NUnitCore.dll"/>
32 <arg value="/nowarn:1595"/>
37 <target name="test" depends="build">
38 <exec program="..\..\..\nunit\NUnitConsole" commandline="MonoTests.AllTests,corlib_test.dll" failonerror="false"/>
39 <exec program="..\..\..\nunit\NUnitConsole" commandline="MonoTests.AllTests,corlib_reference.dll" failonerror="false"/>
43 <delete file="corlib_test.dll" failonerror="false"/>