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.drive" value="z:" /> |
33 <property name="build.drive" value="z:" /> |
34 |
34 |
35 <!-- MATTI testing parameters--> |
35 <!-- MATTI testing parameters--> |
36 <property name="enabled.matti" value="true" /> |
36 <property name="matti.enabled" value="true" /> |
37 <property name="enabled.ats" value="true" /> |
37 <property name="ats.enabled" value="true" /> |
38 <property name="matti.scripts" value="${helium.dir}\testconfig\ats3\matti\script" /> |
38 <property name="matti.scripts" value="${helium.dir}\testconfig\ats3\matti\script" /> |
39 <property name="template.file" value="${helium.dir}\tools\common\python\lib\ats3\matti\template\matti_demo.xml" /> |
39 <property name="template.file" value="${helium.dir}\tools\common\python\lib\ats3\matti\template\matti_demo.xml" /> |
40 <property name="ats.sis.images.dir" location="${helium.dir}\testconfig\ats3\matti\sis" /> |
40 <property name="ats.sis.images.dir" location="${helium.dir}\testconfig\ats3\matti\sis" /> |
41 <property name="ats.image.type" value="variant" /> |
41 <property name="ats.image.type" value="variant" /> |
42 <property name="ats.product.name" value="" /> |
42 <property name="ats.product.name" value="" /> |
43 <property name="ats.email.list" value="" /> |
43 <property name="ats.email.list" value="" /> |
44 <property name="ats.plan.name" value="" /> |
44 <property name="ats.plan.name" value="" /> |
45 <property name="ats.flashfiles.minlimit" value="2" /> |
45 <property name="ats.flashfiles.minlimit" value="2" /> |
46 <property name="ats.target.platform" value="armv5 urel" /> |
46 <property name="ats.target.platform" value="armv5 urel" /> |
47 <property name="ats.script.type" value="import" /> |
47 <property name="ats.script.type" value="import" /> |
48 <property name="ats.product.hwid" value="" /> |
48 <property name="ats.product.hwid" value="" /> |
49 <property name="core.build.version" value="1" /> |
49 <property name="core.build.version" value="1" /> |
50 <property name="build.id" value="001" /> |
50 <property name="build.id" value="001" /> |
51 <property name="ats.testrun.name" value="${build.id}_${ats.product.name}_${core.build.version}" /> |
51 <property name="ats.testrun.name" value="${build.id}_${ats.product.name}_${core.build.version}" /> |
52 <property name="ats.test.timeout" value="60" /> |
52 <property name="ats.test.timeout" value="60" /> |
53 <property name="ats.output.dir" location="${build.drive}\output\ats" /> |
53 <property name="ats.output.dir" location="${build.drive}\output\ats" /> |
54 <property name="ats.sisfiles.minlimit" value="1" /> |
54 <property name="ats.sisfiles.minlimit" value="1" /> |
55 |
55 |
56 <!--ats3 testing properties--> |
56 <!--ats3 testing properties--> |
57 <property name="tsrc.data.dir" value="data_rom" /> |
57 <property name="tsrc.data.dir" value="data_rom" /> |
60 |
60 |
61 <property name="ta.flag.list" value="TA_M, TA_MU, TA_MMAPPFW,TA_MM"/> |
61 <property name="ta.flag.list" value="TA_M, TA_MU, TA_MMAPPFW,TA_MM"/> |
62 <property name="ido.build.filter" value="${ta.flag.list},dfs_build"/> |
62 <property name="ido.build.filter" value="${ta.flag.list},dfs_build"/> |
63 <property name="ats.server" value="4fio00105:8080"/> |
63 <property name="ats.server" value="4fio00105:8080"/> |
64 <property name="release.images.dir" value="${helium.dir}\testconfig\ats3\matti\variant_images" /> |
64 <property name="release.images.dir" value="${helium.dir}\testconfig\ats3\matti\variant_images" /> |
65 |
65 |
66 <!-- build configuration --> |
66 <!-- build configuration --> |
67 <property name="sysdef.configurations.list" value="helium_minibuild_matti_compile" /> |
67 <property name="sysdef.configurations.list" value="helium_minibuild_matti_compile" /> |
68 <path id="system.definition.files"> |
68 <path id="system.definition.files"> |
69 <fileset dir="." includes="*.sysdef.xml"/> |
69 <fileset dir="." includes="*.sysdef.xml"/> |
70 </path> |
70 </path> |
71 <!-- |
71 <!-- |
72 <property name="build.system" value="ec-helium" /> |
72 <property name="build.system" value="ec-helium" /> |
73 --> |
73 --> |
74 <property name="rvct.version" value="22_616"/> |
74 <property name="rvct.version" value="22_616"/> |
75 <!-- Archiving configuration--> |
75 <!-- Archiving configuration--> |
76 <property name="zip.config.file" location="archive.cfg.xml"/> |
76 <property name="zip.config.file" location="archive.cfg.xml"/> |
77 <property name="zips.ee.spec.name" value="minibuild_archive"/> |
77 <property name="zips.ee.spec.name" value="minibuild_archive"/> |
78 |
78 |
79 <!-- Synergy is not configured --> |
79 <!-- Synergy is not configured --> |
80 <property name="skip.password.validation" value="1"/> |
80 <property name="skip.password.validation" value="1"/> |
81 |
81 |
82 <import file="${helium.dir}/helium.ant.xml"/> |
82 <import file="${helium.dir}/helium.ant.xml"/> |
83 |
83 |
84 <!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check--> |
84 <!-- Run the full sequence of target for the minibuild. ,minibuild-prep,compile-main,zip-ee,minibuild-check--> |
85 <!--target name="minibuild-matti" depends="mini-build-cleanup,mini-build-prep,compile-main,matti-test"/--> |
85 <!--target name="minibuild-matti" depends="minibuild-cleanup,minibuild-prep,compile-main,matti-test"/--> |
86 <target name="minibuild-matti" depends="mini-build-prep,build-roms,matti-test"/> |
86 <target name="minibuild-matti" depends="minibuild-prep,build-roms,matti-test"/> |
87 |
87 |
88 <!-- Prepare the minibuild. --> |
88 <!-- Prepare the minibuild. --> |
89 <!--target name="mini-build-prep" depends="init-build-area,start-ant-log,diamonds,set-arm-version,prep-copy-symbiantools"/--> |
89 <!--target name="minibuild-prep" depends="init-build-area,start-ant-log,diamonds,set-arm-version,prep-copy-symbiantools"/--> |
90 <target name="mini-build-prep" depends="prep"/> |
90 <target name="minibuild-prep" depends="prep"/> |
91 |
91 |
92 <!-- Stubbing few targets for easy testing with dragonfly ... --> |
92 <!-- Stubbing few targets for easy testing with dragonfly ... --> |
93 <target name="prep-drive" depends="build-number"/> |
93 <target name="prep-drive" depends="build-number"/> |
94 <target name="dragonfly-prep-drive"/> |
94 <target name="dragonfly-prep-drive"/> |
95 <target name="do-prep-work-area"/> |
95 <target name="do-prep-work-area"/> |
96 <target name="create-bom"/> |
96 <target name="create-bom"/> |
97 <target name="check-env-prep"/> |
97 <target name="check-env-prep"/> |
98 <target name="prep-copy"/> |
98 <target name="prep-copy"/> |
99 |
99 |
100 <target name="mini-build-cleanup"> |
100 <target name="minibuild-cleanup"> |
101 <delete verbose="true" includeemptydirs="true"> |
101 <delete verbose="true" includeemptydirs="true"> |
102 <fileset dir="${build.drive}/" casesensitive="false"> |
102 <fileset dir="${build.drive}/" casesensitive="false"> |
103 <include name="makefile"/> |
103 <include name="makefile"/> |
104 <include name="*.mk"/> |
104 <include name="*.mk"/> |
105 <include name="ecloud_tmp_*/**"/> |
105 <include name="ecloud_tmp_*/**"/> |
106 <include name="emake.*"/> |
106 <include name="emake.*"/> |
107 <include name="epoc32/build/**"/> |
107 <include name="epoc32/build/**"/> |
108 <include name="epoc32/rombuild/*/**"/> |
108 <include name="epoc32/rombuild/*/**"/> |
109 <include name="timestart.txt"/> |
109 <include name="timestart.txt"/> |
110 <include name="timestop.txt"/> |
110 <include name="timestop.txt"/> |
111 </fileset> |
111 </fileset> |
112 </delete> |
112 </delete> |
113 </target> |
113 </target> |
114 |
114 |
115 <target name="mini-build-check"> |
115 <target name="minibuild-check"> |
116 <!-- Check if prep has set some prop correctly... --> |
116 <!-- Check if prep has set some prop correctly... --> |
117 <echo>'${arm.compiler.version}'</echo> |
117 <echo>'${arm.compiler.version}'</echo> |
118 <au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 616\]" casesensitive="false" multiline="true"/> |
118 <au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 616\]" casesensitive="false" multiline="true"/> |
119 |
119 |
120 <!-- Check if compile-main step did what expected... --> |
120 <!-- Check if compile-main step did what expected... --> |
121 <au:assertFileExists file="${canonical.sysdef.file}"/> |
121 <au:assertFileExists file="${canonical.sysdef.file}"/> |
122 <au:assertFileExists file="${build.drive}/Makefile"/> |
122 <au:assertFileExists file="${build.drive}/Makefile"/> |
123 <au:assertFileExists file="${build.drive}/emake.data"/> |
123 <au:assertFileExists file="${build.drive}/emake.data"/> |
124 <au:assertFileExists file="${build.log.dir}/${build.id}.helium_minibuild_compile_run_emake.bat"/> |
124 <au:assertFileExists file="${build.log.dir}/${build.id}.helium_minibuild_compile_run_emake.bat"/> |
125 |
125 |
126 |
126 |
127 <!-- Checking the zip generation --> |
127 <!-- Checking the zip generation --> |
128 <au:assertFileExists file="${zips.build.dir}/s60_app_organizer_clock_binary.zip"/> |
128 <au:assertFileExists file="${zips.build.dir}/s60_app_organizer_clock_binary.zip"/> |
129 <au:assertFileExists file="${zips.build.dir}/s60_app_organizer_clock.zip"/> |
129 <au:assertFileExists file="${zips.build.dir}/s60_app_organizer_clock.zip"/> |
130 </target> |
130 </target> |
131 |
131 |
132 |
132 |
133 </project> |
133 </project> |
134 |
134 |
135 |
135 |