common/build.test.xml
changeset 1124 a6d2a8ac4c74
parent 1123 e0554eb36cb5
child 1126 4af748f40e05
equal deleted inserted replaced
1123:e0554eb36cb5 1124:a6d2a8ac4c74
   140     
   140     
   141 	<!-- Preparing smoketest package (zip) for sending to ATS -->
   141 	<!-- Preparing smoketest package (zip) for sending to ATS -->
   142 	
   142 	
   143 	<target name="sf-build-smoketestpkg" depends="sf-getenv-tools">
   143 	<target name="sf-build-smoketestpkg" depends="sf-getenv-tools">
   144         <echo message="INFO Building smoketest"/>
   144         <echo message="INFO Building smoketest"/>
       
   145 		
       
   146 		<!-- Have to replace qt.conf with the one in the smoketest package -->
       
   147 		<copy file="${build.drive}/epoc32/tools/qt/qt.conf" tofile="${build.drive}/epoc32/tools/qt/qt.conf.temp" overwrite="true" />
       
   148 		<copy file="${build.drive}/smoketest/qt.conf.smoketest" tofile="${build.drive}/epoc32/tools/qt/qt.conf" overwrite="true" />
       
   149 		
   145          <fmpp sourceFile="${qt.qmake.ant.template}" outputFile="${temp.build.dir}/run-qmake-test.ant.xml">
   150          <fmpp sourceFile="${qt.qmake.ant.template}" outputFile="${temp.build.dir}/run-qmake-test.ant.xml">
   146             <data expandProperties="yes">
   151             <data expandProperties="yes">
   147                 data: xml(${build.drive}/smoketest/package_definition.xml)
   152                 data: xml(${build.drive}/smoketest/package_definition.xml)
   148                 ant: antProperties()
   153                 ant: antProperties()
   149 
   154 
   161 		
   166 		
   162         <exec executable="cmd" dir="${build.drive}/smoketest" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   167         <exec executable="cmd" dir="${build.drive}/smoketest" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   163             <arg value="/c"/>
   168             <arg value="/c"/>
   164             <arg value="sbs -c winscw_udeb.test -s package_definition.xml"/>
   169             <arg value="sbs -c winscw_udeb.test -s package_definition.xml"/>
   165         </exec>
   170         </exec>
       
   171 		
       
   172 		<!-- Be a good boy and put the file back where it was -->
       
   173 		<copy file="${build.drive}/epoc32/tools/qt/qt.conf" tofile="${build.drive}/epoc32/tools/qt/qt.conf.smoketest" overwrite="true" />
       
   174 		<copy file="${build.drive}/epoc32/tools/qt/qt.conf.temp" tofile="${build.drive}/epoc32/tools/qt/qt.conf" overwrite="true" />
   166 
   175 
   167         <echo message="INFO Creating smoketest testpackage"/>
   176         <echo message="INFO Creating smoketest testpackage"/>
   168         <exec executable="perl" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   177         <exec executable="perl" dir="${build.drive}/smoketest/group" failonerror="false" append="true" output="${build.log.dir}/ATS_${build.id}_smoketest.log">
   169             <arg value="smoketest.pl"/>
   178             <arg value="smoketest.pl"/>
   170 			<arg value="--target=${sf.spec.test.target}"/>
   179 			<arg value="--target=${sf.spec.test.target}"/>