File: build.xml

package info (click to toggle)
rabbitmq-server 3.3.5-1.1
  • links: PTS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 12,004 kB
  • sloc: erlang: 78,203; python: 3,187; xml: 2,843; makefile: 903; sh: 831; java: 660; perl: 64; ruby: 63
file content (30 lines) | stat: -rw-r--r-- 1,065 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
<?xml version="1.0"?>
<project name="RabbitMQ AMQP 1.0 tests using SwiftMQ client" default="test">
    <target name="test-build">
        <mkdir dir="build/classes"/>

        <javac srcdir="test" destdir="build/classes" debug="true">
            <classpath>
                <fileset dir="build/lib">
                    <include name="**/*.jar"/>
                </fileset>
            </classpath>
        </javac>
    </target>

    <target name="test" depends="test-build">
        <mkdir dir="build/test-output"/>

        <junit printSummary="withOutAndErr" fork="yes" failureproperty="test.failed">
            <classpath>
                <fileset dir="build/lib">
                    <include name="**/*.jar"/>
                </fileset>
                <pathelement location="build/classes"/>
            </classpath>
            <formatter type="plain"/>
            <test todir="build/test-output" name="com.rabbitmq.amqp1_0.tests.swiftmq.SwiftMQTests"/>
        </junit>
        <fail message="Tests failed" if="test.failed" />
    </target>
</project>