File: nunit-console.tests.build

package info (click to toggle)
nunit 2.6.4+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 13,092 kB
  • ctags: 14,310
  • sloc: cs: 87,766; xml: 5,858; cpp: 512; sh: 198; makefile: 48; ansic: 8
file content (45 lines) | stat: -rw-r--r-- 1,678 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0"?>
<project name="NUnit.Console.Tests" default="build">

  <patternset id="source-files">
    <include name="CommandLineTests.cs"/>
    <include name="CommandLineTests_MultipleAssemblies.cs"/>
    <include name="ConsoleRunnerTest.cs"/>
    <include name="TestNameParserTests.cs"/>
  </patternset>

  <target name="build">
    <csc target="library" 
      output="${current.test.dir}/nunit-console.tests.dll"
      debug="${build.debug}" define="${build.defines}">
      <sources>
        <patternset refid="source-files"/>
        <include name="../../GeneratedAssemblyInfo.cs"/>
      </sources>
      <references>
        <include name="${current.framework.dir}/nunit.framework.dll"/>
        <include name="${current.lib.dir}/nunit.core.dll"/>
        <include name="${current.lib.dir}/nunit.core.interfaces.dll"/>
        <include name="${current.lib.dir}/nunit.util.dll"/>
        <include name="${current.lib.dir}/nunit-console-runner.dll"/>
        <include name="${current.test.dir}/nunit.framework.tests.dll"/>
        <include name="${current.test.dir}/test-assembly.dll"/>
        <include name="${current.test.dir}/mock-assembly.dll"/>
		    <include name="${current.test.dir}/nonamespace-assembly.dll"/>
      </references>
    </csc>
  </target>

  <target name="package">
    <copy todir="${package.src.dir}/ConsoleRunner/tests">
      <fileset>
        <patternset refid="source-files" />
        <include name="EmptyLineTextFile.txt" />
        <include name="EmptyTextFile.txt" />
        <include name="nunit-console.tests.csproj" />
        <include name="nunit-console.tests.build" />
      </fileset>
    </copy>
  </target>

</project>