common/build.test.xml
changeset 992 8428cb6e199e
parent 990 a0358d9ffc07
child 994 28143a19361e
equal deleted inserted replaced
990:a0358d9ffc07 992:8428cb6e199e
   148         </exec>
   148         </exec>
   149 
   149 
   150         <echo message="INFO Creating smoketest testpackage"/>
   150         <echo message="INFO Creating smoketest testpackage"/>
   151         <exec executable="perl" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   151         <exec executable="perl" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   152             <arg value="smoketest.pl"/>
   152             <arg value="smoketest.pl"/>
   153             <arg value="--target=${sf.spec.test.target}"/>
   153 			<arg value="--target=${sf.spec.test.target}"/>
   154         </exec>
   154         </exec>
   155         <copy file="${build.drive}/smoketest/group/smoketest.zip" todir="${sf.spec.test.package.location}"  failonerror="false"/>
   155         <copy file="${build.drive}/smoketest/group/smoketest.zip" todir="${sf.spec.test.package.location}"  failonerror="false"/>
   156         
   156         
   157         <echo message="INFO Updating smoketest package with test info"/>
   157         <echo message="INFO Updating smoketest package with test info"/>
   158         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   158         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   169     </target>   
   169     </target>   
   170 
   170 
   171 	<!-- Sending testdrop to ATS3 -->
   171 	<!-- Sending testdrop to ATS3 -->
   172 	
   172 	
   173     <target name="sf-send-testpkg" depends="sf-start-ats,sf-find-ATS-worker-root,sf-make-junction">
   173     <target name="sf-send-testpkg" depends="sf-start-ats,sf-find-ATS-worker-root,sf-make-junction">
   174         <if><equals arg1="${sf.spec.test.target}" arg2="syborg"/>
       
   175           <then>
       
   176             <delete file="${sf.spec.test.workerroot}/syborg.dtb" quiet="true"/>
       
   177             <copy file="${build.drive}/epoc32/rom/syborg/syborg.dtb" todir="${sf.spec.test.workerroot}" failonerror="false"/>
       
   178           </then>
       
   179         </if>
       
   180         <mkdir dir="${sf.spec.test.workerroot}/${sf.spec.test.package.droppath}"/>
   174         <mkdir dir="${sf.spec.test.workerroot}/${sf.spec.test.package.droppath}"/>
   181         <echo message="Sending test package ${sf.spec.test.package.name} to ${sf.spec.test.host.name} path ${sf.spec.test.host.droppath}"/>
   175         <echo message="Sending test package ${sf.spec.test.package.name} to ${sf.spec.test.host.name} path ${sf.spec.test.host.droppath}"/>
   182         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_testdrop.log">
   176         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_testdrop.log">
   183             <arg value="ats3_testdrop.pl"/>
   177             <arg value="ats3_testdrop.pl"/>
   184             <arg value="--host=${sf.spec.test.host.name}"/>
   178             <arg value="--host=${sf.spec.test.host.name}"/>
   195     <then>
   189     <then>
   196         <exec executable="start.cmd" dir="${ats.drive}" spawn="true" failonerror="false"/>
   190         <exec executable="start.cmd" dir="${ats.drive}" spawn="true" failonerror="false"/>
   197         <echo message="Waiting for 10 seconds to start the ATS Worker......."/>
   191         <echo message="Waiting for 10 seconds to start the ATS Worker......."/>
   198         <sleep seconds="10"/>
   192         <sleep seconds="10"/>
   199     </then>
   193     </then>
       
   194     </if>
   200     </target> 
   195     </target> 
   201 </project>
   196 </project>