Added step to submit Dynamic BC tests to ATS server
authorBrendan Donegan brendand@symbian.org
Thu, 23 Jul 2009 12:00:46 +0100
changeset 274 d1e42f09003c
parent 264 93cb50eb65c9
child 275 47e1ffbb8e52
Added step to submit Dynamic BC tests to ATS server
common/build.xml
common/common_props.ant.xml
--- a/common/build.xml	Mon Jul 20 23:08:06 2009 +0100
+++ b/common/build.xml	Thu Jul 23 12:00:46 2009 +0100
@@ -182,6 +182,19 @@
 
             <if><istrue value="${sf.spec.bccheck.enable.dynamic}"/>
                 <then>
+                    <echo message="INFO Updating bctest package with test info"/>
+                    <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_dynamicbc.log">
+                        <arg value="ats_specialise_test_drop.pl"/>
+                        <arg value="--test-drop-name=bctest-${build.id}"/> 
+                        <arg value="--device-name=GENERIC EMULATOR on ${env.COMPUTERNAME}"/>
+                        <arg value="--src=${sf.spec.test.package.location}\..\bctest\bctest.zip"/>
+                        <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.bccheck.package.name}"/>
+                    </exec>
+                    <!-- Now ready to send to ATS3 -->
+
+                    <antcall target="sf-send-testpkg" inheritAll="false">
+                        <param name="sf.spec.test.package.name" value="${sf.spec.bccheck.package.name}"/>
+                    </antcall>    
                 </then>
             </if>
         </then>
--- a/common/common_props.ant.xml	Mon Jul 20 23:08:06 2009 +0100
+++ b/common/common_props.ant.xml	Thu Jul 23 12:00:46 2009 +0100
@@ -99,6 +99,7 @@
     <property name="sf.spec.bccheck.baseline.s60.version" value="5.1"/>
     <property name="sf.spec.bccheck.current.s60.version" value="5.1"/>
     <property name="sf.spec.bccheck.reportid" value="report"/>
+    <property name="sf.spec.bccheck.package.name" value="${env.COMPUTERNAME}-bctest-${sf.spec.job.name}_${sf.spec.job.codeline}.${sf.spec.job.number}.zip"/>
 </project>