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