2001-11-08 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / class / corlib / Test / corlib_test.build
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <!-- NAnt build file for corlib_test.dll -->
4 <!-- Target build (default) builds tests -->
5 <!-- Target test runs tests -->
6
7 <project name="corlib_test" default="build">
8         <property name="debug" value="false"/>
9         <property name="nunit_home" value="..\..\..\nunit"/>
10
11         <target name="build">
12                 <csc target="library" output="corlib_test.dll" debug="${debug}">
13                         <sources>
14                                 <includes name="**/*.cs"/>
15                                 <excludes name="System/IntegerFormatterTest.cs"/>
16                                 <excludes name="System/Int64Test.cs"/>
17                                 <excludes name="System/IntegerFormatterTest.cs"/>
18                         </sources>
19                         <references basedir="..\..\..\nunit">
20                                 <includes name="NUnitCore.dll"/>
21                         </references>
22                         <arg value="/r:corlib_res.dll"/>
23                         <arg value="/nowarn:1595"/>
24                 </csc>
25         </target>
26
27         <target name="test" depends="build">
28                 <exec program="..\..\..\nunit\NUnitConsole" commandline="MonoTests.AllTests,corlib_test.dll" failonerror="false"/>
29         </target>
30
31         <target name="clean">
32                 <delete file="corlib_test.dll" failonerror="false"/>
33         </target>
34 </project>