1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <!-- NAnt build file for System.Security_test.dll -->
4 <!-- Target build (default) builds tests -->
5 <!-- Target test runs tests -->
7 <project name="System.Security_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.Security_test.dll" debug="${debug}">
17 <includes name="**/*.cs"/>
19 <references basedir="..\..\..\nunit">
20 <includes name="NUnitCore.dll"/>
21 <includes name="..\class\lib\corlib.dll"/>
22 <includes name="..\class\lib\System.XML.dll"/>
23 <includes name="..\class\lib\System.Security.dll"/>
26 <copy file="../../lib/System.Security.dll" tofile="System.Security.dll"/>
27 <copy file="../../lib/System.XML.dll" tofile="System.XML.dll"/>
30 <target name="test" depends="assemblies">
31 <exec program="..\..\..\nunit\NUnitConsole" commandline="MonoTests.System.Security.AllTests,System.Security_test.dll" failonerror="false"/>
35 <delete file="System.Security_test.dll" failonerror="false"/>
36 <delete file="System.Security.dll" failonerror="false"/>
37 <delete file="System.XML.dll" failonerror="false"/>