buildframework/helium/tests/minibuilds/ido-sbs/build.xml
changeset 628 7c4a911dc066
parent 588 c7c26511138f
child 645 b8d81fa19e7d
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
    20 
    20 
    21 ============================================================================
    21 ============================================================================
    22 -->
    22 -->
    23 <project name="minibuild.ido-sbs" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium" basedir="..\ido">
    23 <project name="minibuild.ido-sbs" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium" basedir="..\ido">
    24     <property environment="env"/>
    24     <property environment="env"/>
    25 	<!--property name="config.temp.build.dir" location="${ant.file.minibuild.ido-sbs}/../build"/ -->
    25     <!--property name="config.temp.build.dir" location="${ant.file.minibuild.ido-sbs}/../build"/ -->
    26 	
    26     
    27 	<!-- Configuring raptor build system -->
    27     <!-- Configuring raptor build system -->
    28 	<property name="build.system" value="sbs"/>
    28     <property name="build.system" value="sbs"/>
    29 
    29 
    30     <!-- Configuring get latest env. -->
    30     <!-- Configuring get latest env. -->
    31     <property name="s60.grace.service" value="s60_devices_sw" />
    31     <property name="s60.grace.service" value="s60_devices_sw" />
    32     <property name="s60.grace.product" value="DFS7x.92" />
    32     <property name="s60.grace.product" value="DFS7x.92" />
    33     <property name="s60.grace.release" value="92_\d{6}_hw79" />
    33     <property name="s60.grace.release" value="92_\d{6}_hw79" />
    34     
    34     
    35     <!-- Synergy project for TB92 -->
    35     <!-- Synergy project for TB92 -->
    36     <property name="ccm.project" value="MinibuildDomain-tr1ido#50_201012:project:tr1test1#1" />
    36     <property name="ccm.project" value="MinibuildDomain-tr1ido#50_201012:project:tr1test1#1" />
    37 
    37 
    38 
    38 
    39     <!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check-->
    39     <!-- Run the full sequence of target for the minibuild. ,minibuild-prep,compile-main,zip-ee,minibuild-check-->
    40     <!--<target name="do-mini-build" depends="mini-build-cleanup,
    40     <!--<target name="do-minibuild" depends="minibuild-cleanup,
    41     										compile-main"/>-->
    41                                             compile-main"/>-->
    42 
    42 
    43 	<property name="build.name" value="minibuild_ido_sbs" />
    43     <property name="build.name" value="minibuild_ido_sbs" />
    44     <property name="build.family" value="test_minibuild_ido_sbs" />
    44     <property name="build.family" value="test_minibuild_ido_sbs" />
    45 
    45 
    46     <target name="mini-build-check-blocks">
    46     <target name="minibuild-check-blocks">
    47         <if>
    47         <if>
    48             <istrue value="${blocks.enabled}" />
    48             <istrue value="${blocks.enabled}" />
    49             <then>
    49             <then>
    50                 <au:assertFileExists file="${blocks.config.dir}/minibuild_helloworldapi.blocks_component.xml" />
    50                 <au:assertFileExists file="${blocks.config.dir}/minibuild_helloworldapi.blocks_component.xml" />
    51                 <au:assertFileExists file="${blocks.config.dir}/minibuild_helloworldcons.blocks_component.xml" />
    51                 <au:assertFileExists file="${blocks.config.dir}/minibuild_helloworldcons.blocks_component.xml" />
    52             </then>
    52             </then>
    53         </if>
    53         </if>
    54     </target>
    54     </target>
    55 
    55 
    56     <target name="mini-build-check" depends="mini-build-check-blocks">
    56     <target name="minibuild-check" depends="minibuild-check-blocks">
    57     	<!-- Check if prep has set some prop correctly... -->
    57         <!-- Check if prep has set some prop correctly... -->
    58         <echo>'${arm.compiler.version}'</echo>
    58         <echo>'${arm.compiler.version}'</echo>
    59         <au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 686\]" casesensitive="false" multiline="true"/>
    59         <au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 686\]" casesensitive="false" multiline="true"/>
    60 
    60 
    61         <!-- Check if compile-main step did what expected... -->
    61         <!-- Check if compile-main step did what expected... -->
    62         <au:assertFileExists file="${canonical.sysdef.file}"/>
    62         <au:assertFileExists file="${canonical.sysdef.file}"/>
    63     </target>
    63     </target>
    64 	
    64     
    65 
    65 
    66 	<import file="../ido/build.xml"/>
    66     <import file="../ido/build.xml"/>
    67     <import file="build.sbsinput.ant.xml" />
    67     <import file="build.sbsinput.ant.xml" />
    68 
    68 
    69     <!-- We should defer the failure for raptor. -->
    69     <!-- We should defer the failure for raptor. -->
    70     <hlm:signalInput id="raptorErrorSignalInput" failbuild="defer">
    70     <hlm:signalInput id="raptorErrorSignalInput" failbuild="defer">
    71         <hlm:notifierListRef refid="defaultFailNotifier" />
    71         <hlm:notifierListRef refid="defaultFailNotifier" />