80 |
80 |
81 |
81 |
82 <h2>Target sf-build-smoketestpkg</h2> |
82 <h2>Target sf-build-smoketestpkg</h2> |
83 |
83 |
84 <p><b>Location</b></p> |
84 <p><b>Location</b></p> |
85 <p> <tt class="docutils literal"><a href="/D:/maintools/sf-config/common/build.test.xml#L139">D:\maintools\sf-config\common\build.test.xml:139:</a></tt> |
85 <p> <tt class="docutils literal"><a href="/d:/maintools/sf-config/common/build.test.xml#L142">d:\maintools\sf-config\common\build.test.xml:142:</a></tt> |
86 </p> |
86 </p> |
87 |
87 |
88 <p><b>Conditional execution</b></p> |
88 <p><b>Conditional execution</b></p> |
89 <p>No conditions on target execution.</p> |
89 <p>No conditions on target execution.</p> |
90 <hr/> |
90 <hr/> |
150 <h3>Target dependencies</h3> |
150 <h3>Target dependencies</h3> |
151 <p align="center"> |
151 <p align="center"> |
152 <img src="target-sf-build-smoketestpkg.dot.png" alt="sf-build-smoketestpkg dependencies" usemap="#dependencies" |
152 <img src="target-sf-build-smoketestpkg.dot.png" alt="sf-build-smoketestpkg dependencies" usemap="#dependencies" |
153 style="border-style: none"/> |
153 style="border-style: none"/> |
154 <map name="dependencies" id="dependencies"> |
154 <map name="dependencies" id="dependencies"> |
155 <area shape="rect" id="node1" href="target-sf-build-smoketestpkg.html" title="sf-build-smoketestpkg" alt="" coords="156,5,329,53"> |
155 <area shape="rect" id="node1" href="target-sf-build-smoketestpkg.html" title="sf-build-smoketestpkg" alt="" coords="196,41,369,89"> |
156 <area shape="rect" id="node4" href="target-sf-getenv-tools.html" title="sf-getenv-tools" alt="" coords="379,5,501,53"> |
156 <area shape="rect" id="node6" href="target-sf-getenv-tools.html" title="sf-getenv-tools" alt="" coords="419,41,541,89"> |
157 <area shape="rect" id="node2" href="target-sf-postbuild.html" title="sf-postbuild" alt="" coords="5,5,107,53"> |
157 <area shape="rect" id="node2" href="target-sf-postbuild.html" title="sf-postbuild" alt="" coords="25,5,127,53"> |
158 <area shape="rect" id="node6" href="target-preparation-getenv.html" title="preparation-getenv" alt="" coords="549,5,701,53"> |
158 <area shape="rect" id="node4" href="target-sf-test-smoketest.html" title="sf-test-smoketest" alt="" coords="7,77,145,125"> |
|
159 <area shape="rect" id="node8" href="target-preparation-getenv.html" title="preparation-getenv" alt="" coords="589,41,741,89"> |
159 </map> |
160 </map> |
160 </p> |
161 </p> |
161 <hr/> |
162 <hr/> |
162 |
163 |
163 |
164 |
181 |
182 |
182 <echo message="INFO Creating smoketest testpackage"/> |
183 <echo message="INFO Creating smoketest testpackage"/> |
183 <exec executable="perl" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
184 <exec executable="perl" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
184 <arg value="smoketest.pl"/> |
185 <arg value="smoketest.pl"/> |
185 </exec> |
186 </exec> |
186 <copy file="${build.drive}/smoketest/group/smoketest.zip" todir="${sf.spec.test.package.location}"/> |
187 <copy file="${build.drive}/smoketest/group/smoketest.zip" todir="${sf.spec.test.package.location}" failonerror="false"/> |
187 |
188 |
188 <echo message="INFO Updating smoketest package with test info"/> |
189 <echo message="INFO Updating smoketest package with test info"/> |
189 <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
190 <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log"> |
190 <arg value="ats_specialise_test_drop.pl"/> |
191 <arg value="ats_specialise_test_drop.pl"/> |
191 <arg value="--test-drop-name=Smoketest-${build.id}"/> |
192 <arg value="--test-drop-name=Smoketest-${build.id}"/> |
192 <arg value="--device-name=GENERIC EMULATOR on ${env.COMPUTERNAME}"/> |
193 <arg value="--device-name=${env.COMPUTERNAME}.ad-sfpd.intra"/> |
193 <arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/> |
194 <arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/> |
194 <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/> |
195 <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/> |
195 <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/> |
196 <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/> |
196 </exec> |
197 </exec> |
197 <!-- Now ready to send to ATS3 --> |
198 <!-- Now ready to send to ATS3 --> |