common/build.test.xml
changeset 995 73dce18476a0
parent 994 28143a19361e
child 998 8b9e371ca522
equal deleted inserted replaced
994:28143a19361e 995:73dce18476a0
   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 
   159             <arg value="ats_specialise_test_drop.pl"/>
   159         <if><equals arg1="${sf.spec.test.target}" arg2="syborg"/>
   160             <arg value="--test-drop-name=Smoketest-${build.id}"/> 
   160           <then>
   161             <arg value="--host-name=${env.COMPUTERNAME}.ad-sfpd.intra"/>
   161             <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   162             <arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/>
   162               <arg value="ats_specialise_test_drop.pl"/>
   163             <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/>	
   163               <arg value="--test-drop-name=Smoketest-${build.id}"/> 
   164             <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/>	
   164               <arg value="--host-name=${env.COMPUTERNAME}.ad-sfpd.intra"/>
   165             <arg value="--publish=${publish.dir}\ats_reports"/>
   165               <arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/>
   166 			<arg value="--bld-drive=${build.drive}"/>
   166               <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/>	
   167             <if><equals arg1="${sf.spec.test.target}" arg2="syborg"/>
   167               <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/>	
   168               <then>
   168               <arg value="--publish=${publish.dir}\ats_reports"/>
   169                 <arg value="--test-target=Syborg_stif"/>
   169               <arg value="--bld-drive=${build.drive}"/>
   170                 <arg value="--image-path=${sf.spec.test.imagepath}"/>
   170               <arg value="--test-target=Syborg_stif"/>
   171               </then>
   171               <arg value="--image-path=${sf.spec.test.imagepath}"/>
   172             </if>
   172             </exec>
   173         </exec>
   173           </then>
       
   174           <else>		
       
   175             <exec executable="perl" dir="${sf.common.config.dir}/tools/ats/" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
       
   176               <arg value="ats_specialise_test_drop.pl"/>
       
   177               <arg value="--test-drop-name=Smoketest-${build.id}"/> 
       
   178               <arg value="--host-name=${env.COMPUTERNAME}.ad-sfpd.intra"/>
       
   179               <arg value="--src=${sf.spec.test.package.location}\smoketest.zip"/>
       
   180               <arg value="--dest=${sf.spec.test.package.location}\${sf.spec.test.package.name}"/>	
       
   181               <arg value="--build-id=http://${sf.spec.publish.diamonds.server}${diamonds.build.id}"/>	
       
   182               <arg value="--publish=${publish.dir}\ats_reports"/>
       
   183               <arg value="--bld-drive=${build.drive}"/>
       
   184             </exec>
       
   185           </else>
       
   186         </if>
   174         <!-- Now ready to send to ATS3 -->
   187         <!-- Now ready to send to ATS3 -->
   175     </target>   
   188     </target>   
   176 
   189 
   177 	<!-- Sending testdrop to ATS3 -->
   190 	<!-- Sending testdrop to ATS3 -->
   178 	
   191