author | Maciej Seroka <maciejs@symbian.org> |
Thu, 12 Aug 2010 12:44:52 +0100 | |
changeset 1208 | 86025b85795b |
parent 1179 | 9d79e98a47e4 |
child 1251 | 0fc9e31020ea |
permissions | -rw-r--r-- |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
171
a6f2b8d175d0
The prefix "hlm" for element "hlm:argSet" was not bound.
dario
parents:
170
diff
changeset
|
2 |
<project name="SF-PACKAGE-CONFIG" xmlns:hlm="http://www.nokia.com/helium"> |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
3 |
<!-- location of this config --> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
4 |
<dirname property="sf.package.config.dir" file="${ant.file.SF-PACKAGE-CONFIG}"/> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
5 |
|
593
4fc8d6b0b184
Allow codeline-specific property file to be read (if present)
Dario Sestito <darios@symbian.org>
parents:
342
diff
changeset
|
6 |
<!-- import codeline-specific properties --> |
4fc8d6b0b184
Allow codeline-specific property file to be read (if present)
Dario Sestito <darios@symbian.org>
parents:
342
diff
changeset
|
7 |
<import file="${sf.package.config.dir}/${sf.spec.job.codeline}_props.ant.xml" optional="yes"/> |
4fc8d6b0b184
Allow codeline-specific property file to be read (if present)
Dario Sestito <darios@symbian.org>
parents:
342
diff
changeset
|
8 |
|
18
9f36ff790ea7
Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents:
11
diff
changeset
|
9 |
<!-- import package properties --> |
9f36ff790ea7
Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents:
11
diff
changeset
|
10 |
<import file="${sf.package.config.dir}/package_props.ant.xml" /> |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
11 |
|
18
9f36ff790ea7
Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents:
11
diff
changeset
|
12 |
<!-- import common properties/targets/references --> |
9f36ff790ea7
Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents:
11
diff
changeset
|
13 |
<import file="../common/build.xml" /> |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
14 |
|
18
9f36ff790ea7
Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents:
11
diff
changeset
|
15 |
<!-- import package references --> |
9f36ff790ea7
Reorganized property/reference importing structure
dariosestito@L063522.prod.ad.symbian.intra
parents:
11
diff
changeset
|
16 |
<import file="${sf.package.config.dir}/package_refs.ant.xml" /> |
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
17 |
|
170
31922c5222d7
Changes to support clean check and avoid filtering the logs
dario
parents:
18
diff
changeset
|
18 |
<target name="sf-compile"> |
319
257557b39754
Added transformation of model file from version 3.0.0 to a version usable by Raptor
Dario Sestito <darios@symbian.org>
parents:
184
diff
changeset
|
19 |
|
257557b39754
Added transformation of model file from version 3.0.0 to a version usable by Raptor
Dario Sestito <darios@symbian.org>
parents:
184
diff
changeset
|
20 |
<!-- Check that package_definition is not in v 3.0.0 otherwise transforms it to 2.0.1 --> |
257557b39754
Added transformation of model file from version 3.0.0 to a version usable by Raptor
Dario Sestito <darios@symbian.org>
parents:
184
diff
changeset
|
21 |
<echo message="Check that model file is in a version usable by Raptor"/> |
257557b39754
Added transformation of model file from version 3.0.0 to a version usable by Raptor
Dario Sestito <darios@symbian.org>
parents:
184
diff
changeset
|
22 |
<exec executable="perl" dir="${sf.common.config.dir}/sysdefdowngrade" failonerror="false" output="${build.log.dir}/sysdefdowngrade.log"> |
257557b39754
Added transformation of model file from version 3.0.0 to a version usable by Raptor
Dario Sestito <darios@symbian.org>
parents:
184
diff
changeset
|
23 |
<arg value="sysdefdowngrade.pl"/> |
257557b39754
Added transformation of model file from version 3.0.0 to a version usable by Raptor
Dario Sestito <darios@symbian.org>
parents:
184
diff
changeset
|
24 |
<arg value="--model=${build.drive}/${sf.spec.systemdefinition.location}"/> |
257557b39754
Added transformation of model file from version 3.0.0 to a version usable by Raptor
Dario Sestito <darios@symbian.org>
parents:
184
diff
changeset
|
25 |
<arg value="--sources=${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
257557b39754
Added transformation of model file from version 3.0.0 to a version usable by Raptor
Dario Sestito <darios@symbian.org>
parents:
184
diff
changeset
|
26 |
</exec> |
325
779cc88ed845
Allow subprojects within a project repo and model file relative to the subproject dir
Dario Sestito <darios@symbian.org>
parents:
323
diff
changeset
|
27 |
|
899
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
28 |
|
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
29 |
<!-- helium 7+ should use new sf-package-compile target --> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
30 |
<if> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
31 |
<or> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
32 |
<equals arg1="${helium.version}" arg2="7.0"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
33 |
<equals arg1="${last.major.helium.version}" arg2="7.0"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
34 |
</or> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
35 |
<then> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
36 |
<runtarget target="sf-package-compile"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
37 |
</then> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
38 |
<else> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
39 |
<runtarget target="sf-package-compile-hlm-5"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
40 |
</else> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
41 |
</if> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
42 |
|
170
31922c5222d7
Changes to support clean check and avoid filtering the logs
dario
parents:
18
diff
changeset
|
43 |
</target> |
31922c5222d7
Changes to support clean check and avoid filtering the logs
dario
parents:
18
diff
changeset
|
44 |
|
899
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
45 |
|
711
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
46 |
|
899
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
47 |
<target name="sf-package-compile"> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
48 |
|
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
49 |
<!-- build stuff --> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
50 |
<for list="${sf.spec.sbs.config}" delimiter="," param="item.sbs.splitconfig"> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
51 |
<sequential> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
52 |
|
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
53 |
<hlm:sbsinput id="sf.build"> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
54 |
<sbsOptions> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
55 |
<arg line="-c @{item.sbs.splitconfig}"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
56 |
<arg line="-k" /> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
57 |
<arg line="-j ${sf.spec.sbs.numberofjobs}"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
58 |
<arg line="-t ${sf.spec.sbs.retry.limit}"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
59 |
<arg line="${sf.spec.sbs.options}"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
60 |
<arg name="--filters" value=""${sf.spec.sbs.filter.list}""/> |
1179
9d79e98a47e4
Update *_compile.log location to output to build.log.dir
Shabe Razvi <shaber@symbian.org>
parents:
899
diff
changeset
|
61 |
<arg name="--logfile" value="${build.log.dir}/${build.id}_@{item.sbs.splitconfig}_compile.log" /> |
899
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
62 |
<arg name="--makefile" value="${compile.log.dir}/${build.id}_@{item.sbs.splitconfig}_Makefile" /> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
63 |
</sbsOptions> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
64 |
</hlm:sbsinput> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
65 |
|
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
66 |
<echo message="INFO [Iterative compile] Building target: @{item.sbs.splitconfig}"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
67 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
68 |
<param name="build.system" value="${sf.spec.build.system}" /> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
69 |
<param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
70 |
<param name="sbs.inputs.list" value="sf.build"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
71 |
<reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
72 |
</antcall> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
73 |
</sequential> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
74 |
</for> |
1208
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
75 |
<!-- build test code --> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
76 |
<if><istrue value="${sf.spec.package.test.enable}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
77 |
<then> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
78 |
<for list="${sf.spec.sbs.config}" delimiter="," param="item.sbs.splitconfig"> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
79 |
<sequential> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
80 |
|
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
81 |
<hlm:sbsinput id="sf.build"> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
82 |
<sbsOptions> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
83 |
<arg line="-c @{item.sbs.splitconfig}.test"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
84 |
<arg line="-k" /> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
85 |
<arg line="-j ${sf.spec.sbs.numberofjobs}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
86 |
<arg line="-t ${sf.spec.sbs.retry.limit}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
87 |
<arg line="${sf.spec.sbs.options}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
88 |
<arg name="--filters" value=""${sf.spec.sbs.filter.list}""/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
89 |
<arg name="--logfile" value="${build.log.dir}/${build.id}_@{item.sbs.splitconfig}_compile.log" /> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
90 |
<arg name="--makefile" value="${compile.log.dir}/${build.id}_@{item.sbs.splitconfig}_Makefile" /> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
91 |
</sbsOptions> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
92 |
</hlm:sbsinput> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
93 |
|
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
94 |
<echo message="INFO [Iterative compile] Building target: @{item.sbs.splitconfig}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
95 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
96 |
<param name="build.system" value="${sf.spec.build.system}" /> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
97 |
<param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
98 |
<param name="sbs.inputs.list" value="sf.build"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
99 |
<reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
100 |
</antcall> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
101 |
</sequential> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
102 |
</for> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
103 |
</then> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
104 |
</if> |
899
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
105 |
|
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
106 |
<!-- CHECK --> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
107 |
<exec executable="cmd" dir="${build.drive}/" output="${build.drive}/output\logs\build_check_compile.log"> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
108 |
<arg value="/c sbs.bat -s ${build.drive}/output\build\canonical_system_definition_SF.xml -k -c tools2_rel -c winscw -c armv5 -j 32 --check -m ${build.drive}/output\logs\build_check_Makefile"/> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
109 |
<!-- argument of -j option can be parameterized with: ${number.of.threads} --> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
110 |
</exec> |
1208
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
111 |
|
899
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
112 |
</target> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
113 |
|
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
114 |
|
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
115 |
<target name="sf-package-compile-hlm-5"> |
d80a65072ed8
Add Helium 7 support for package builds.
Shabe Razvi <shaber@symbian.org>
parents:
711
diff
changeset
|
116 |
|
711
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
117 |
<for list="${sf.spec.sbs.config}" delimiter="," param="item.sbs.splitconfig"> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
118 |
<sequential> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
119 |
<echo message="INFO [Iterative compile] Building target: @{item.sbs.splitconfig}"/> |
637
3effbd6728d4
Modified sf-check-missing-os-files to deal with 'sf.os.compile.iterate' property. Added new target 'sf-compile-options' for setting the gmake sbs compile option, and added it as a dep for the compile targets.
MattD <mattd@symbian.org>
parents:
593
diff
changeset
|
120 |
|
711
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
121 |
<!-- Do CLEAN |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
122 |
<hlm:argSet id="sbs.iterate.clean.var"> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
123 |
<hlm:arg name="config" value="@{item.sbs.splitconfig}" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
124 |
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
125 |
<hlm:arg name="command" value="CLEAN"/> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
126 |
</hlm:argSet> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
127 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
128 |
<param name="build.system" value="${sf.spec.build.system}" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
129 |
<param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
130 |
<reference refid="sbs.iterate.clean.var" torefid="sbs.var" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
131 |
<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
132 |
<reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
133 |
</antcall> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
134 |
--> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
135 |
|
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
136 |
<!-- Do BUILD --> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
137 |
<hlm:argSet id="sbs.main.iterate.sbs.var"> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
138 |
<hlm:arg name="config" value="@{item.sbs.splitconfig}" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
139 |
<hlm:arg name="enable-filter" value="${sf.spec.logs.raptorfilter.enable}" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
140 |
<hlm:arg name="retry-limit" value="${sf.spec.sbs.retry.limit}" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
141 |
</hlm:argSet> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
142 |
<antcall target="compile-main" inheritAll="false" inheritRefs="true"> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
143 |
<param name="build.system" value="${sf.spec.build.system}" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
144 |
<param name="sysdef.configurations.list" value="${sf.spec.sysdef.configurations.list}" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
145 |
<reference refid="sbs.main.iterate.sbs.var" torefid="sbs.var" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
146 |
<reference refid="sbs.fullbuild.options" torefid="sbs.make.options" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
147 |
<reference refid="sf.spec.system.definition.files" torefid="system.definition.files" /> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
148 |
</antcall> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
149 |
</sequential> |
7a9d3b010a52
Let sbs targets be taken from sf.spec.sbs.config
Dario Sestito <darios@symbian.org>
parents:
637
diff
changeset
|
150 |
</for> |
170
31922c5222d7
Changes to support clean check and avoid filtering the logs
dario
parents:
18
diff
changeset
|
151 |
|
183
8025a9486931
Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents:
182
diff
changeset
|
152 |
<!-- CHECK --> |
184
f50ee414b574
Reimplemented --check as the previous version didn't work (also most of the arguments are parameterized now)
dario
parents:
183
diff
changeset
|
153 |
<exec executable="cmd" dir="${build.drive}/" output="${build.drive}/output\logs\build_check_compile.log"> |
342
626d3847cf2a
Commented out clean and tools targets. Changed tool2 target into tools2_rel
Dario Sestito <darios@symbian.org>
parents:
325
diff
changeset
|
154 |
<arg value="/c sbs.bat -s ${build.drive}/output\build\canonical_system_definition_SF.xml -k -c tools2_rel -c winscw -c armv5 -j 32 --check -m ${build.drive}/output\logs\build_check_Makefile"/> |
184
f50ee414b574
Reimplemented --check as the previous version didn't work (also most of the arguments are parameterized now)
dario
parents:
183
diff
changeset
|
155 |
<!-- argument of -j option can be parameterized with: ${number.of.threads} --> |
183
8025a9486931
Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents:
182
diff
changeset
|
156 |
</exec> |
8025a9486931
Doing WHAT with .whatlog. Added check with an exec task (some arguments are not parameterized).
dario
parents:
182
diff
changeset
|
157 |
|
170
31922c5222d7
Changes to support clean check and avoid filtering the logs
dario
parents:
18
diff
changeset
|
158 |
</target> |
1208
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
159 |
|
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
160 |
|
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
161 |
<target name="sf-test-package"> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
162 |
|
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
163 |
<echo message="INFO Preparing package"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
164 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" output="${build.log.dir}/ATS_${build.id}_prep_package.log"> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
165 |
<arg value="hlm_prep_package.pl"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
166 |
<arg value="--csv-file=${sf.spec.sourcesync.sourcespecdir}/${sf.spec.sourcesync.sourcespecfile}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
167 |
<arg value="--bld-drive=${build.drive}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
168 |
</exec> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
169 |
|
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
170 |
<echo message="INFO Building package test drop(s)"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
171 |
<!-- <runtarget target="ats-test"/> --> <!-- Supported from Helium 9.0.5 onwards --> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
172 |
<echo message="INFO Skipped - Helium 9.0.5+ required"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
173 |
|
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
174 |
<for param="file"> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
175 |
<path> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
176 |
<fileset dir="${build.drive}/output/ats" includes="*.zip"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
177 |
</path> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
178 |
<sequential> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
179 |
<propertyregex override="yes" property="program" input="@{file}" regexp="([^\\/\/]*)$" select="\1"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
180 |
<echo message="INFO Updating package test drop with test info"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
181 |
<echo message="************ Test drop name: ${program} " /> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
182 |
<exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_packagetest.log"> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
183 |
<arg value="ats_specialise_test_drop.pl"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
184 |
<arg value="--test-drop-name=${env.COMPUTERNAME}-packagetest-${build.id}_${program}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
185 |
<arg value="--host-name=${env.COMPUTERNAME}.ad-sfpd.intra"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
186 |
<arg value="--src=${build.drive}/output/ats/${program}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
187 |
<arg value="--dest=${sf.spec.test.package.location}\${env.COMPUTERNAME}-packagetest-${build.id}_${program}" /> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
188 |
<arg value="--publish=${publish.dir}\ats_reports\${program}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
189 |
<arg value="--ats-version=ats4"/> <!-- Hard-coded ats-version as Test Drop Generator for WINSCW supports only ATS4 --> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
190 |
</exec> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
191 |
<!-- Now ready to send to ATS --> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
192 |
<echo message="Sending test drop : ${program} ............" /> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
193 |
<antcall target="sf-send-testpkg" inheritAll="false"> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
194 |
<param name="sf.spec.test.package.name" value="${env.COMPUTERNAME}-packagetest-${build.id}_${program}"/> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
195 |
</antcall> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
196 |
</sequential> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
197 |
</for> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
198 |
|
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
199 |
</target> |
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
200 |
|
86025b85795b
Implemented package tests
Maciej Seroka <maciejs@symbian.org>
parents:
1179
diff
changeset
|
201 |
<target name="ats-emulator-zip"/> <!-- This is to override exisiting Helium target called from ats-test --> |
170
31922c5222d7
Changes to support clean check and avoid filtering the logs
dario
parents:
18
diff
changeset
|
202 |
|
0
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
203 |
</project> |
571f289c60b8
Initial drop of FBF Helium configuration
Dario Sestito <dario.sestito@symbian.com>
parents:
diff
changeset
|
204 |