buildframework/helium/tests/minibuilds/ido-sbs/build.xml
author timothy.murphy@nokia.com
Tue, 02 Mar 2010 09:17:29 +0000
changeset 297 7029b5be2b15
parent 1 be27ed110b50
child 179 d8ac696cc51f
permissions -rw-r--r--
SF Bug 2113 - make test actually test so that it would actually fail if the output was wrong.

<?xml version="1.0" encoding="UTF-8"?>
<!-- 
============================================================================ 
Name        : 
Part of     : Helium 

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".

Initial Contributors:
Nokia Corporation - initial contribution.

Contributors:

Description:

============================================================================
-->
<project name="minibuild.ido-sbs" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium" basedir="..\ido">
    <property environment="env"/>
	<!--property name="config.temp.build.dir" location="${ant.file.minibuild.ido-sbs}/../build"/ -->
	
	<!-- Configuring raptor build system -->
	<property name="build.system" value="sbs"/>

    <!-- Run the full sequence of target for the minibuild. ,mini-build-prep,compile-main,zip-ee,mini-build-check-->
    <!--<target name="do-mini-build" depends="mini-build-cleanup,
    										compile-main"/>-->

	<property name="build.name" value="minibuild_ido_sbs" />
    <property name="build.family" value="test_minibuild_ido_sbs" />
		
    <target name="mini-build-check">
    	<!-- Check if prep has set some prop correctly... -->
        <echo>'${arm.compiler.version}'</echo>
        <au:assertMatches string="${arm.compiler.version}" pattern="RVCT2\.2 \[Build 616\]" casesensitive="false" multiline="true"/>

        <!-- Check if compile-main step did what expected... -->
        <au:assertFileExists file="${canonical.sysdef.file}"/>
        <if>
            <istrue value="${blocks.enabled}" />
            <then>
                <au:assertFileExists file="${blocks.config.dir}/minibuild_helloworldapi.blocks_component.xml" />
                <au:assertFileExists file="${blocks.config.dir}/minibuild_helloworldcons.blocks_component.xml" />
            </then>
        </if>
    </target>
	
	
	<import file="../ido/build.xml"/>
</project>