buildframework/helium/external/helium-antlib/test-macros.ant.xml
author wbernard
Wed, 23 Jun 2010 16:36:42 +0300
branchhelium-7.0.x
changeset 594 904749c9fc4c
parent 179 d8ac696cc51f
permissions -rw-r--r--
helium_7.0.x-r16015 missed some files...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     1
<?xml version="1.0"?>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     2
<!-- 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     3
============================================================================ 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     4
Name        : test-macros.xml 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     5
Part of     : Helium AntLib
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     6
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     8
All rights reserved.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    13
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    14
Initial Contributors:
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    16
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    17
Contributors:
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    18
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    19
Description:
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    20
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    21
============================================================================
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    22
-->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    23
<project name="test-macros" xmlns:au="org.apache.ant.antunit">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    24
    <description>Helium Antlib test macro.</description>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    25
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    26
    <taskdef resource="org/apache/ant/antunit/antlib.xml" uri="org.apache.ant.antunit"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    27
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    28
    <dirname property="helium.antlib.root.dir" file="${ant.file.test-macros}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    29
    <property name="build.temp.dir" location="${helium.antlib.root.dir}/../build" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    30
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    31
    <fileset dir="." includes="**/test_*.ant.xml" id="defaut.antunit"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    32
    
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    33
    <macrodef name="antunitModule">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    34
        <attribute name="name" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    35
        <attribute name="filesetid" default="defaut.antunit"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    36
        <sequential>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    37
            <mkdir dir="${build.temp.dir}/antunit/@{name}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    38
            <au:antunit>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    39
                <fileset refid="@{filesetid}" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    40
                <au:plainlistener logLevel="info"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    41
                <au:xmllistener toDir="${build.temp.dir}/antunit/@{name}"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    42
            </au:antunit>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    43
        </sequential>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    44
    </macrodef>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    45
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    46
</project>