217
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!--
|
|
3 |
============================================================================
|
|
4 |
Name : test_common.ant.xml
|
|
5 |
Part of : Helium
|
|
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_scanlog" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
|
|
24 |
<description>
|
|
25 |
Testing targets
|
|
26 |
</description>
|
|
27 |
<property environment="env"/>
|
|
28 |
|
|
29 |
|
|
30 |
<property name="helium.dir" location="../../.." />
|
|
31 |
<import file="../../../helium.ant.xml"/>
|
|
32 |
<property name="scanlog.temp.dir" location="${helium.build.dir}/antunit/scanlog" />
|
|
33 |
|
|
34 |
<target name="setUp">
|
|
35 |
<delete dir="${scanlog.temp.dir}" failonerror="false" />
|
|
36 |
<mkdir dir="${scanlog.temp.dir}" />
|
|
37 |
</target>
|
|
38 |
|
|
39 |
<target name="tearDown">
|
|
40 |
<!--delete dir="${scanlog.temp.dir}" failonerror="false" /-->
|
|
41 |
</target>
|
|
42 |
|
|
43 |
<target name="test-scanlog-generation">
|
|
44 |
<unzip src="${helium.dir}/tests/data/minibuild_ido_sbs_0.0.1_metadata_db.zip" dest="${scanlog.temp.dir}" />
|
|
45 |
<fmpp sourceFile="${helium.dir}/tools/common/templates/log/scan2_orm.html.ftl"
|
|
46 |
outputfile="${scanlog.temp.dir}/scanlog.scan2.html">
|
|
47 |
<freemarkerLinks expandProperties="yes">
|
|
48 |
macro: ${helium.dir}/tools/common/templates/macro
|
|
49 |
</freemarkerLinks>
|
|
50 |
<data expandProperties="yes">
|
|
51 |
dbPath: ${scanlog.temp.dir}/minibuild_ido_sbs_0.0.1_metadata_db
|
|
52 |
whatLogPath: "v:/output/logs/compile/minibuild_ido_sbs_0.0.1_armv5_helium_minibuild_ido.log.whatlog.log"
|
|
53 |
doc: xml(${scanlog.temp.dir}/minibuild_ido_sbs_0.0.1_armv5_helium_minibuild_ido.log.info.xml)
|
|
54 |
ant: antProperties()
|
|
55 |
</data>
|
|
56 |
</fmpp>
|
|
57 |
</target>
|
|
58 |
|
|
59 |
</project>
|
|
60 |
|