18 |
18 |
19 Description: |
19 Description: |
20 |
20 |
21 ============================================================================ |
21 ============================================================================ |
22 --> |
22 --> |
23 <project name="minibuild.ats" default="minibuild-ats" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium"> |
23 <project name="minibuild.ats" default="minibuild" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium"> |
24 <property environment="env"/> |
24 <property environment="env"/> |
25 <import file="../site/${env.TEAM}.ant.xml" /> |
25 <import file="../site/${env.TEAM}.ant.xml" /> |
26 |
26 |
27 <!-- Enable Helium internal assertion checking. --> |
27 <!-- Enable Helium internal assertion checking. --> |
28 <property name="hlm.enable.asserts" value="1" /> |
28 <property name="hlm.enable.asserts" value="1" /> |
29 <property name="build.family" value="test" /> |
29 <property name="build.family" value="test" /> |
30 <property name="build.name" value="minibuild_ats" /> |
30 <property name="build.name" value="minibuild_ats" /> |
31 <property name="major.version" value="0" /> |
31 <property name="major.version" value="0" /> |
32 <property name="minor.version" value="0" /> |
32 <property name="minor.version" value="0" /> |
33 <property name="build.version" value="${major.version}.${minor.version}"/> |
33 <property name="build.version" value="${major.version}.${minor.version}"/> |
34 <property name="build.drive" value="z:" /> |
34 <!--<property name="build.drive" value="z:" />--> |
35 <property name="build.id" value="${build.name}_${build.version}"/> |
35 <property name="build.id" value="${build.name}_${build.version}"/> |
36 <property name="diamonds.host" value="diamonds.nmp.nokia.com"/> |
36 <property name="diamonds.host" value="diamonds.nmp.nokia.com"/> |
37 <property name="diamonds.port" value="80"/> |
37 <property name="diamonds.port" value="80"/> |
38 <property name="diamonds.path" value="/diamonds/builds/"/> |
38 <property name="diamonds.path" value="/diamonds/builds/"/> |
39 |
39 |
40 <property name="enabled.ats" value="true" /> |
40 <property name="ats.enabled" value="true" /> |
41 <property name="skip.ats.sending" value="true"/> |
41 <property name="ats.upload.enabled" value="false"/> |
42 <property name="ats.image.type" value="variant" /> |
42 <property name="ats.image.type" value="variant" /> |
43 <property name="ats.product.name" value="" /> |
43 <property name="ats.product.name" value="" /> |
44 |
44 |
45 <property name="ats.script.type" value="import" /> |
45 <property name="ats.script.type" value="import" /> |
46 <property name="ats.product.hwid" value="" /> |
46 <property name="ats.product.hwid" value="" /> |
47 |
47 |
48 <property name="tsrc.data.dir" value="data_rom" /> |
48 <property name="tsrc.data.dir" value="data_rom" /> |
49 <property name="ats.ctc.enabled" value="True" /> |
49 <property name="ats.ctc.enabled" value="true" /> |
50 <property name="ats.ctc.host" value="10.11.3.2" /> |
50 <property name="ats.ctc.host" value="10.11.3.2" /> |
51 |
51 |
52 <property name="ta.flag.list" value="TA_M, TA_MU, TA_MMAPPFW,TA_MM"/> |
52 <property name="ta.flag.list" value="TA_M, TA_MU, TA_MMAPPFW,TA_MM"/> |
53 <property name="ido.build.filter" value="${ta.flag.list},dfs_build"/> |
53 <property name="ido.build.filter" value="${ta.flag.list},dfs_build"/> |
54 <!--<property name="release.images.dir" value="Z:\output\variant_images" />--> |
54 <!--<property name="release.images.dir" value="Z:\output\variant_images" />--> |
59 <fileset dir="." includes="*.sysdef.xml"/> |
59 <fileset dir="." includes="*.sysdef.xml"/> |
60 </path> |
60 </path> |
61 |
61 |
62 <!-- |
62 <!-- |
63 <property name="build.system" value="ec-helium" /> |
63 <property name="build.system" value="ec-helium" /> |
64 --> |
64 --> |
65 <property name="rvct.version" value="22_616"/> |
65 <property name="rvct.version" value="22_616"/> |
66 <!-- Archiving configuration--> |
66 <!-- Archiving configuration--> |
67 <property name="zip.config.file" location="archive.cfg.xml"/> |
67 <property name="zip.config.file" location="archive.cfg.xml"/> |
68 <property name="zips.ee.spec.name" value="minibuild_archive"/> |
68 <property name="zips.ee.spec.name" value="minibuild_archive"/> |
69 |
69 |
70 <!-- Synergy is not configured --> |
70 <!-- Synergy is not configured --> |
71 <property name="skip.password.validation" value="1"/> |
71 <property name="skip.password.validation" value="1"/> |
72 |
72 |
73 <echo> |
73 <!--<echo> |
74 DIAMONDS URL: ${diamonds.build.url} |
74 DIAMONDS URL: ${diamonds.build.url} |
75 DIAMONDS HOST: ${diamonds.host} |
75 DIAMONDS HOST: ${diamonds.host} |
76 DIAMONDS BID: ${diamonds.build.id} |
76 DIAMONDS BID: ${diamonds.build.id} |
77 |
77 |
78 DIAMONDS ATS TEST PAGE: http://${diamonds.host}${diamonds.build.id}#tab=4 |
78 DIAMONDS ATS TEST PAGE: http://${diamonds.host}${diamonds.build.id}#tab=4 |
79 </echo> |
79 </echo>--> |
|
80 |
80 <import file="${helium.dir}/helium.ant.xml"/> |
81 <import file="${helium.dir}/helium.ant.xml"/> |
81 |
82 |
82 <!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check--> |
83 <!-- Run the full sequence of target for the minibuild. ,minibuild-prep,compile-main,zip-ee,minibuild-check--> |
83 <target name="minibuild-ats" depends="mini-build-cleanup,mini-build-prep,compile-main,ats-test,ats-aste"/> |
84 <target name="minibuild" depends="minibuild-cleanup,minibuild-prep,compile-main,ats-test,ats-aste,final"/> |
84 |
85 |
85 <!-- Prepare the minibuild. --> |
86 <!-- Prepare the minibuild. --> |
86 <!--target name="mini-build-prep" depends="init-build-area,start-ant-log,diamonds,set-arm-version,prep-copy-symbiantools"/--> |
87 <!--target name="minibuild-prep" depends="init-build-area,start-ant-log,diamonds,set-arm-version,prep-copy-symbiantools"/--> |
87 <target name="mini-build-prep" depends="prep"/> |
88 <target name="minibuild-prep" depends="prep"/> |
88 |
89 |
89 <!-- Stubbing few targets for easy testing with dragonfly ... --> |
90 <!-- Stubbing few targets for easy testing with dragonfly ... --> |
90 <target name="prep-drive" depends="build-number"/> |
91 <target name="prep-drive" depends="build-number"/> |
91 <target name="dragonfly-prep-drive"/> |
92 <target name="dragonfly-prep-drive"/> |
92 <target name="do-prep-work-area"/> |
93 <target name="do-prep-work-area"/> |
93 <target name="create-bom"/> |
94 <target name="create-bom"/> |
94 <target name="check-env-prep"/> |
95 <target name="check-env-prep"/> |
95 <target name="prep-copy"/> |
96 <target name="prep-copy"/> |
96 |
97 |
97 <target name="mini-build-cleanup"> |
98 <target name="minibuild-cleanup"> |
98 <delete verbose="true" includeemptydirs="true"> |
99 <delete verbose="true" includeemptydirs="true"> |
99 <fileset dir="${build.drive}/" casesensitive="false"> |
100 <fileset dir="${build.drive}/" casesensitive="false"> |
100 <include name="makefile"/> |
101 <include name="makefile"/> |
101 <include name="*.mk"/> |
102 <include name="*.mk"/> |
102 <include name="ecloud_tmp_*/**"/> |
103 <include name="ecloud_tmp_*/**"/> |
103 <include name="emake.*"/> |
104 <include name="emake.*"/> |
104 <include name="epoc32/build/**"/> |
105 <include name="epoc32/build/**"/> |
105 <include name="epoc32/rombuild/*/**"/> |
106 <include name="epoc32/rombuild/*/**"/> |
106 <include name="timestart.txt"/> |
107 <include name="timestart.txt"/> |
107 <include name="timestop.txt"/> |
108 <include name="timestop.txt"/> |
108 </fileset> |
109 </fileset> |
109 </delete> |
110 </delete> |
110 </target> |
111 </target> |
111 |
112 |
112 <target name="mini-build-check"> |
113 <target name="minibuild-check"> |
113 <!-- Check if prep has set some prop correctly... --> |
114 <!-- Check if prep has set some prop correctly... --> |
114 <echo>'${arm.compiler.version}'</echo> |
115 <echo>'${arm.compiler.version}'</echo> |
115 <au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 616\]" casesensitive="false" multiline="true"/> |
116 <au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 616\]" casesensitive="false" multiline="true"/> |
116 |
117 |
117 <!-- Check if compile-main step did what expected... --> |
118 <!-- Check if compile-main step did what expected... --> |
118 <au:assertFileExists file="${canonical.sysdef.file}"/> |
119 <au:assertFileExists file="${canonical.sysdef.file}"/> |