Introduced new property for passing ROM image path to ats_specialise_test_drop
authorMaciej Seroka <maciejs@symbian.org>
Wed, 28 Apr 2010 15:30:20 +0100
changeset 994 28143a19361e
parent 993 4ae26accd7da
child 995 73dce18476a0
Introduced new property for passing ROM image path to ats_specialise_test_drop
common/build.test.xml
common/common_props.ant.xml
--- a/common/build.test.xml	Wed Apr 28 15:01:11 2010 +0100
+++ b/common/build.test.xml	Wed Apr 28 15:30:20 2010 +0100
@@ -164,6 +164,12 @@
             <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/>	
             <arg value="--publish=${publish.dir}\ats_reports"/>
 			<arg value="--bld-drive=${build.drive}"/>
+            <if><equals arg1="${sf.spec.test.target}" arg2="syborg"/>
+              <then>
+                <arg value="--test-target=Syborg_stif"/>
+                <arg value="--image-path=${sf.spec.test.imagepath}"/>
+              </then>
+            </if>
         </exec>
         <!-- Now ready to send to ATS3 -->
     </target>   
@@ -171,6 +177,12 @@
 	<!-- Sending testdrop to ATS3 -->
 	
     <target name="sf-send-testpkg" depends="sf-start-ats,sf-find-ATS-worker-root,sf-make-junction">
+        <if><equals arg1="${sf.spec.test.target}" arg2="syborg"/>
+          <then>
+            <delete file="${sf.spec.test.workerroot}/syborg.dtb" quiet="true"/>
+            <copy file="${build.drive}/epoc32/rom/syborg/syborg.dtb" todir="${sf.spec.test.workerroot}" failonerror="false"/>
+          </then>
+        </if>
         <mkdir dir="${sf.spec.test.workerroot}/${sf.spec.test.package.droppath}"/>
         <echo message="Sending test package ${sf.spec.test.package.name} to ${sf.spec.test.host.name} path ${sf.spec.test.host.droppath}"/>
         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_testdrop.log">
--- a/common/common_props.ant.xml	Wed Apr 28 15:01:11 2010 +0100
+++ b/common/common_props.ant.xml	Wed Apr 28 15:30:20 2010 +0100
@@ -101,7 +101,8 @@
     <property name="sf.spec.test.host.password"  value="admin"/>
     <property name="sf.spec.test.host.droppath"  value="D:\ats3_testdrop_arrivals\${env.COMPUTERNAME}"/>
     <property name="sf.spec.test.epocroot"       value="winscw_smoketest"/>
-	<property name="sf.spec.test.target"         value="winscw"/> <!-- This specifies the target on which tests will be run -->
+    <property name="sf.spec.test.target"         value="winscw"/> <!-- This specifies the target on which tests will be run -->
+    <property name="sf.spec.test.imagepath"      value="D:\epoc32\rom\syborg_tshell_ARMV5_udeb.img"/> <!-- This specifies the path to the ROM image used for testing -->
 
     <!-- ATS properties -->
     <property name="sf.spec.test.package.location"  value="\\${sf.spec.test.host.name}\ats3_testdrop_arrivals\${env.COMPUTERNAME}"/>