common/build.xml
changeset 122 2c7b53b5228f
parent 120 4f54ca96b7e8
child 126 c7c1445180e7
equal deleted inserted replaced
121:aa585d28e584 122:2c7b53b5228f
   418             <!--regexpmapper from="[^/]+/[^/]+/epoc32/(.*)" to="\1" handledirsep="true"/-->
   418             <!--regexpmapper from="[^/]+/[^/]+/epoc32/(.*)" to="\1" handledirsep="true"/-->
   419             <!-- TODO make match exactly 2 levels deep otherwise nested epoc32 trees will also be merged -->
   419             <!-- TODO make match exactly 2 levels deep otherwise nested epoc32 trees will also be merged -->
   420         </hlm:fastcopy>
   420         </hlm:fastcopy>
   421         </then>
   421         </then>
   422     </if>
   422     </if>
   423   </target>
   423     </target>
   424   
   424   
   425     <target name="sf-send-testpkg">
   425     <target name ="sf-make-junction">
   426         <echo message="Sending test package ${sf.spec.test.package.name} to ${sf.spec.test.host.name}"/>
   426         
   427         <exec executable="perl" dir="${sf.common.config.dir}/tools/" failonerror="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   427         <mkdir dir="${sf.spec.test.epocroot}"/>
       
   428 
       
   429         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_make_junction.log">
       
   430         <arg value="make_junction.pl"/>
       
   431         <arg value="--link=${sf.spec.test.epocroot}/epoc32"/>
       
   432         <arg value="--target=${build.drive}/epoc32"/>
       
   433         <arg value="--force"/>
       
   434       </exec>
       
   435     </target>
       
   436 
       
   437     <target name ="sf-delete-junction">
       
   438         <exec executable="junction.exe" dir="${sf.spec.test.epocroot}" failonerror="false" output="${build.log.dir}/ATS_${build.id}_delete_junction.log">
       
   439         <arg value="-d"/>
       
   440         <arg value="epoc32"/>
       
   441       </exec>
       
   442     </target>  
       
   443     
       
   444     <target name="sf-send-testpkg" depends="sf-make-junction">
       
   445         <mkdir dir="${sf.spec.test.package.droppath}"/>
       
   446         <echo message="Sending test package ${sf.spec.test.package.name} to ${sf.spec.test.host.name} path ${sf.spec.test.host.droppath}"/>
       
   447         <exec executable="perl" dir="${sf.common.config.dir}/tools/ats" failonerror="false" output="${build.log.dir}/ATS_${build.id}_testdrop.log">
   428             <arg value="ats3_testdrop.pl"/>
   448             <arg value="ats3_testdrop.pl"/>
   429             <arg value="${sf.spec.test.host.name}"/>
   449             <arg value="--host=${sf.spec.test.host.name}"/>
   430             <arg value="${sf.spec.test.host.path}"/>
   450             <arg value="--username=${sf.spec.test.host.username}"/>
   431             <arg value="${sf.spec.test.package.name}"/>
   451             <arg value="--password=${sf.spec.test.host.password}"/>
   432             <arg value="${sf.spec.test.package.path}"/>
   452             <arg value="--local-test-pkg=${sf.spec.test.package.name}"/>
   433         </exec>
   453             <arg value="--local-drop-path=${sf.spec.test.package.droppath}"/>
   434   </target>
   454             <arg value="--host-drop-path=${sf.spec.test.host.droppath}"/>
       
   455         </exec>
       
   456     </target>
   435   
   457   
   436   <!-- runs analysis of missing bins and source -->
   458     <!-- runs analysis of missing bins and source -->
   437   <target name="sf-run-analysis">
   459     <target name="sf-run-analysis">
   438         <mkdir dir="${build.log.dir}/analysis"/>
   460         <mkdir dir="${build.log.dir}/analysis"/>
   439 
   461 
   440         <echo message="Running source analysis of ANT output"/>
   462         <echo message="Running source analysis of ANT output"/>
   441         <exec executable="perl" dir="${build.log.dir}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_scan_ant.log">
   463         <exec executable="perl" dir="${build.log.dir}" failonerror="false" output="${build.log.dir}/analysis/${build.id}_scan_ant.log">
   442             <arg value="${sf.common.config.dir}/tools/analysis/scan_antlogs.pl"/>
   464             <arg value="${sf.common.config.dir}/tools/analysis/scan_antlogs.pl"/>
   459         <exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_summary.log">
   481         <exec executable="perl" dir="${build.log.dir}/analysis" failonerror="false" output="${build.log.dir}/analysis/${build.id}_summary.log">
   460             <arg value="${sf.common.config.dir}/tools/analysis/merge_csv.pl"/>
   482             <arg value="${sf.common.config.dir}/tools/analysis/merge_csv.pl"/>
   461             <arg value="${build.id}_list_results.log"/>
   483             <arg value="${build.id}_list_results.log"/>
   462             <arg value="${build.id}_what_results.log"/>
   484             <arg value="${build.id}_what_results.log"/>
   463         </exec>
   485         </exec>
   464 
   486     </target>
   465 
       
   466   </target>
       
   467   
   487   
   468 </project>
   488 </project>
   469 
   489