blob: 3e205b08b8f1bab8596d54bc8a22059ea610c6ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- NAnt build file for System.Data_test.dll -->
<!-- Target build (default) builds tests -->
<!-- Target test runs tests -->
<project name="System.Data_test" default="build">
<property name="debug" value="false"/>
<property name="nunit_home" value="..\..\..\nunit"/>
<target name="build">
</target>
<target name="assemblies">
<csc target="library" output="Microsoft.VisualBasic_test.dll" debug="${debug}">
<arg value="/nowarn:1595"/>
<sources>
<includes name="**/*.cs"/>
<excludes name="TheTests.cs"/>
</sources>
<references basedir="..\..\..\nunit">
<includes name="NUnitCore.dll"/>
</references>
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
<!--<arg value="/lib:../../lib/"/>-->
<!-- cor compare dies with these currently -->
<!--<arg value="/nostdlib"/>--> <!-- don't reference mscorlib -->
<!--<arg value="/r:corlib.dll"/>-->
<arg value="/r:System.dll"/>
<arg value="/r:.\Microsoft.VisualBasic.dll"/>
</csc>
<!--
<csc target="exe" output="RunTests.Microsoft.VisualBasic.exe" debug="${debug}">
<sources>
<includes name="**/*.cs"/>
<excludes name="AllTests.cs"/>
</sources>
<references basedir="..\..\..\nunit">
<includes name="NUnitBase.dll"/>
</references>
<arg value="/nowarn:1595"/>
<arg value="/noconfig"/>
<arg value="/r:..\..\lib\corlib.dll"/>
<arg value="/r:..\..\lib\System.dll"/>
<arg value="/r:..\..\lib\Microsoft.VisualBasic.dll"/>
</csc>
-->
</target>
<target name="test" depends="assemblies">
<exec program="..\..\..\nunit\NUnitConsole" commandline="MonoTests.AllTests,Microsoft.VisualBasic_test.dll" failonerror="false"/>
</target>
<target name="clean">
<delete file="Microsoft.VisualBasic.dll" failonerror="false"/>
<delete file="Microsoft.VisualBasic_test.dll" failonerror="false"/>
<delete file="corlib.dll" failonerror="false"/>
<delete file="System.dll" failonerror="false"/>
</target>
</project>
|