buildframework/helium/tests/minibuilds/ats/build.xml
changeset 1 be27ed110b50
child 179 d8ac696cc51f
equal deleted inserted replaced
0:044383f39525 1:be27ed110b50
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!-- 
       
     3 ============================================================================ 
       
     4 Name        : 
       
     5 Part of     : Helium 
       
     6 
       
     7 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     8 All rights reserved.
       
     9 This component and the accompanying materials are made available
       
    10 under the terms of the License "Eclipse Public License v1.0"
       
    11 which accompanies this distribution, and is available
       
    12 at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    13 
       
    14 Initial Contributors:
       
    15 Nokia Corporation - initial contribution.
       
    16 
       
    17 Contributors:
       
    18 
       
    19 Description:
       
    20 
       
    21 ============================================================================
       
    22 -->
       
    23 <project name="minibuild.ats" default="minibuild-ats" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
       
    24     <property environment="env"/>
       
    25     <import file="../site/${env.TEAM}.ant.xml" />
       
    26 
       
    27     <!-- Enable Helium internal assertion checking. -->
       
    28     <property name="hlm.enable.asserts" value="1" />
       
    29         
       
    30     <property name="build.name" value="minibuild_ats" />
       
    31     <property name="major.version" value="0" />
       
    32     <property name="minor.version" value="0" />
       
    33     <property name="build.drive" value="z:" />
       
    34     
       
    35     
       
    36     <property name="enabled.ats" value="1" />
       
    37 
       
    38 	<property name="skip.ats.sending" value="1"/>
       
    39 		<property name="ats.image.type" value="variant" />
       
    40 		<property name="ats.product.name" value="" />
       
    41 		<property name="ats.email.list" value="" />
       
    42 		<property name="ats.plan.name" value="" />
       
    43 		<property name="ats.flashfiles.minlimit" value="2" />
       
    44 		<property name="ats.target.platform" value="armv5 urel" />
       
    45 		<property name="ats.script.type" value="import" />
       
    46 		<property name="ats.product.hwid" value="" />
       
    47 		<property name="ats.testrun.name" value="${build.id}_${ats.product.name}_${core.build.version}" />
       
    48 		<property name="ats.test.timeout" value="60" />
       
    49 		<property name="tsrc.data.dir" value="data_rom" />
       
    50 		<property name="ats.ctc.enabled" value="True" />
       
    51 		<property name="ats.flashfiles.minlimit" value="2" />
       
    52 		
       
    53 		<property name="ta.flag.list" value="TA_M, TA_MU, TA_MMAPPFW,TA_MM"/>
       
    54     <property name="ido.build.filter" value="${ta.flag.list},dfs_build"/>
       
    55     <property name="release.images.dir" value="Z:\output\variant_images" />
       
    56 		
       
    57     <!-- build configuration -->
       
    58     <property name="sysdef.configurations.list" value="helium_minibuild_ats_compile" />
       
    59     <path id="system.definition.files">
       
    60         <fileset dir="." includes="*.sysdef.xml"/>
       
    61     </path>
       
    62 
       
    63 <!--    
       
    64     <property name="build.system" value="ec-helium" />
       
    65 -->	
       
    66 	<property name="rvct.version" value="22_616"/>
       
    67 	<!-- Archiving configuration-->
       
    68 	<property name="zip.config.file" location="archive.cfg.xml"/>
       
    69 	<property name="zips.ee.spec.name" value="minibuild_archive"/>
       
    70 	
       
    71     <!-- Synergy is not configured -->
       
    72     <property name="skip.password.validation" value="1"/>
       
    73     
       
    74     
       
    75     <import file="${helium.dir}/helium.ant.xml"/>
       
    76     
       
    77     <!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check-->
       
    78     <target name="minibuild-ats" depends="mini-build-cleanup,mini-build-prep,compile-main,ats-test,ats-aste"/>
       
    79     
       
    80     <!-- Prepare the minibuild. -->
       
    81     <!--target name="mini-build-prep" depends="init-build-area,start-ant-log,diamonds,set-arm-version,prep-copy-symbiantools"/-->
       
    82     <target name="mini-build-prep" depends="prep"/>
       
    83     
       
    84     <!-- Stubbing few targets for easy testing with dragonfly ... -->
       
    85     <target name="prep-drive" depends="build-number"/>
       
    86     <target name="dragonfly-prep-drive"/>
       
    87     <target name="do-prep-work-area"/>
       
    88     <target name="create-bom"/>
       
    89     <target name="check-env-prep"/>
       
    90     <target name="prep-copy"/>
       
    91     
       
    92     <target name="mini-build-cleanup">
       
    93         <delete verbose="true" includeemptydirs="true">
       
    94             <fileset dir="${build.drive}/" casesensitive="false">
       
    95                 <include name="makefile"/>
       
    96                 <include name="*.mk"/>
       
    97             	<include name="ecloud_tmp_*/**"/>
       
    98             	<include name="emake.*"/>            	
       
    99                 <include name="epoc32/build/**"/>
       
   100                 <include name="epoc32/rombuild/*/**"/>
       
   101                 <include name="timestart.txt"/>
       
   102                 <include name="timestop.txt"/>
       
   103             </fileset>
       
   104         </delete>
       
   105     </target>
       
   106     
       
   107     <target name="mini-build-check">
       
   108     	<!-- Check if prep has set some prop correctly... -->
       
   109         <echo>'${arm.compiler.version}'</echo>
       
   110         <au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 616\]" casesensitive="false" multiline="true"/>
       
   111 
       
   112         <!-- Check if compile-main step did what expected... -->
       
   113     	<au:assertFileExists file="${canonical.sysdef.file}"/>
       
   114         <au:assertFileExists file="${build.drive}/Makefile"/>
       
   115         <au:assertFileExists file="${build.drive}/emake.data"/>
       
   116         <au:assertFileExists file="${build.log.dir}/${build.id}.helium_minibuild_compile_run_emake.bat"/>
       
   117     	
       
   118     	
       
   119     	<!-- Checking the zip generation -->
       
   120     	<au:assertFileExists file="${zips.build.dir}/s60_app_organizer_clock_binary.zip"/>
       
   121     	<au:assertFileExists file="${zips.build.dir}/s60_app_organizer_clock.zip"/>    	
       
   122     </target>
       
   123 
       
   124 
       
   125 	
       
   126 </project>
       
   127 
       
   128