buildframework/helium/builder/java/test-macros.ant.xml
author jascui
Mon, 29 Nov 2010 15:46:44 +0800
changeset 711 03a6f48f6e14
parent 587 85df38eb4012
permissions -rw-r--r--
Updating release text
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
<?xml version="1.0"?>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
<!-- 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
============================================================================ 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
Name        : build.xml 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
Part of     : Helium AntLib
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
All rights reserved.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
Initial Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
Description:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
============================================================================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
<project name="test-macros" xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:au="antlib:org.apache.ant.antunit">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
    <import file="common.ant.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
  
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    26
    <path id="classpath.anlibs">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    27
        <fileset dir="${builder.dir}/antlibs" includes="*.jar"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    28
    </path>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
    <fileset id="unittests.filetset" dir="${basedir}" includes="**/test_*.ant.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    31
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    32
    <propertyset id="unittests.propertyset">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
        <propertyref name="module.temp.dir" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
        <propertyref name="test.temp.dir" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
        <propertyref name="builder.dir" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    36
    </propertyset>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    37
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    38
    <target name="antunit">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    39
        <echo message="${antunit.result.dir}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    40
        <mkdir dir="${antunit.result.dir}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    41
        <au:antunit>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    42
            <fileset refid="unittests.filetset" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    43
            <au:plainlistener logLevel="info"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    44
            <au:xmllistener toDir="${antunit.result.dir}" logLevel="debug"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    45
            <propertyset refid="unittests.propertyset" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    46
        </au:antunit>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    47
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    48
    <target name="unittest" depends="antunit"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    49
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    50
</project>