summaryrefslogtreecommitdiffstats
path: root/testing-drivers/build.xml
blob: 0da9f8d69f57833ad3307c1fd9b0d50ded764d14 (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
<?xml version="1.0"?>
<project name="testing-drivers" default="all" basedir=".">

    <import file="../build/build-common.xml"/>
    <import file="../ajde/build.xml"/>
    <import file="../bridge/build.xml"/>
    <import file="../taskdefs/build.xml"/>
    <import file="../testing/build.xml"/>

    <path id="testing-drivers.test.src.path">
        <path refid="testing-drivers.src.path"/>
        <fileset dir="${basedir}/../lib">
            <include name="junit/*.jar"/>
            <include name="commons/*.jar"/>
        </fileset>
        <!-- test run -->
        <pathelement path="../ajde/bin"/>
        <pathelement path="../asm/bin"/>
        <pathelement path="../org.aspectj.ajdt.core/bin"/>
        <pathelement path="../runtime/bin"/>
        <pathelement path="../taskdefs/bin"/>
        <pathelement path="../weaver/bin"/>
        <fileset dir="${basedir}/../org.eclipse.jdt.core">
            <include name="*.jar"/>
        </fileset>
        <fileset dir="${basedir}/../lib">
            <include name="bcel/*.jar"/>
        </fileset>
    </path>

    <path id="testing-drivers.src.path">
        <pathelement path="../bridge/bin"/>
        <pathelement path="../testing/bin"/>
        <pathelement path="../util/bin"/>
    </path>

    <target name="compile" depends="init,
                                    bridge.compile,
                                    testing.compile,
                                    util.compile">
        <srccompile project="testing-drivers" path="testing-drivers.src.path"/>
    </target>

    <target name="test:compile" depends="compile">
        <testcompile project="testing-drivers" path="testing-drivers.test.src.path"/>
    </target>

    <target name="test" depends="test:compile,
                                 ajde.compile,
                                 asm.compile,
                                 org.aspectj.ajdt.core.compile,
                                 runtime.compile,
                                 taskdefs.compile,
                                 weaver.compile">
        <testrun project="testing-drivers" path="testing-drivers.test.src.path" suite="TestingDriversModuleTests"/>
    </target>


</project>