buildframework/helium/sf/java/diamonds/tests/scenarii/build/build.xml
author wbernard
Fri, 13 Aug 2010 14:59:05 +0300
changeset 628 7c4a911dc066
parent 588 c7c26511138f
child 645 b8d81fa19e7d
permissions -rw-r--r--
helium_11.0.0-e00f171ca185
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     1
<?xml version="1.0"?>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     2
<!-- 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     3
============================================================================ 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     4
Name        : test_diamonds.ant.xml 
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     5
Part of     : Helium AntLib
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     6
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     8
All rights reserved.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    13
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    14
Initial Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    16
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    17
Contributors:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    18
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    19
Description:
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    20
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    21
============================================================================
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    22
-->
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    23
<project name="test-diamonds" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    24
    <description>Helium Antlib diamonds unittests.</description>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    25
    <property environment="env" />
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    26
    <taskdef resource="com/nokia/helium/core/ant/antlib.xml" uri="http://www.nokia.com/helium"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    27
    <taskdef name="xpathtest" classname="se.jtech.ant.xpath.XPathEvaluatorTask" onerror="ignore"/>    
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    28
    <property name="diamonds.enabled" value="true" />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    29
    <property name="diamonds.unitest.dir" location="${ant.file.test-diamonds}/../../../" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    30
    <import file="../../../../../../nokia/companyproperties.ant.xml" optional="true"/>
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    31
    <import file="../../config/diamonds_config_default.ant.xml" />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    32
    <property name="diamonds.output.dir" location="${temp.dir}/output" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    33
    <property name="diamonds.template.dir" location="${diamonds.unitest.dir}/data/templates" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    34
    <property name="build.family" value="test_new_hlm"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    35
    <property name="id" value="123"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    36
    <property name="name" value="${build.family}_${id}"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    37
    <property name="build.system" value="ec-helium"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    38
    <property name="compile.log.input" location="${diamonds.unitest.dir}/data/compile.log.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    39
    <property name="codescanner.log.input" location="${diamonds.unitest.dir}/data/problemIndex.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    40
    <property name="policy.log.input" location="${diamonds.unitest.dir}/data/policy.log.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    41
    <property name="invalid.target.input.file" location="${diamonds.unitest.dir}/data/invalid.target.input.log.xml" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    42
    <property name="symsee.version" value="9.1.0" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    43
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    44
    <import file="${diamonds.unitest.dir}/config/diamonds_config_default.ant.xml" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
    45
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    46
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    47
    <target name="unittest" depends="unittest-diamonds" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    48
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    49
    <target name="unittest-diamonds" >
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    50
        <delete dir="${diamonds.output.dir}" failonerror="false"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    51
        <mkdir dir="${diamonds.output.dir}"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    52
        <antcall target="test-all" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    53
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    54
    
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    55
    <dirname property="project.dir" file="${ant.file.test-diamonds}" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    56
    <target name="version">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    57
        <echo message="version target for diamonds to verify sending data to diamonds" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    58
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    59
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    60
    <target name="diamonds" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    61
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    62
    <target name="compile-target">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    63
        <echo message="verify the build stage with input source xml file" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    64
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    65
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    66
    <target name="codescanner">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    67
        <echo message="target verification with input source xml file" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    68
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    69
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    70
    <target name="create-bom-log">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    71
        <echo message="target without input file and just to send the data" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    72
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    73
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    74
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    75
    <target name="defer-type">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    76
        <echo message="version target for diamonds to verify sending data to diamonds" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    77
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    78
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    79
    <target name="test-defer-type">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    80
        <antcall target="defer-type" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    81
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    82
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    83
    <target name="test-create-bom-log">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    84
        <antcall target="create-bom-log" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    85
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    86
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    87
    <target name="test-codescanner">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    88
        <antcall target="codescanner" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    89
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    90
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    91
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    92
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    93
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    94
    <target name="test-compile-target">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    95
        <antcall target="compile-target" />
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    96
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    97
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    98
    <target name="test-version">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
    99
        <antcall target="version" />
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   100
        <au:assertTrue>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   101
            <isset property="diamonds.build.id"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   102
        </au:assertTrue>
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   103
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   104
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   105
    <target name="test-buildid-set">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   106
        <echo>${diamonds.build.id}</echo>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   107
        <au:assertTrue>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   108
            <isset property="diamonds.build.id"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   109
        </au:assertTrue>
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   110
        <get src="http://${diamonds.host}:${diamonds.port}${diamonds.build.id}?fmt=xml"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   111
             dest="${temp.dir}/test-buildid-set_output.xml" 
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   112
             usetimestamp="true" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   113
        <xpathtest xmlfile="${temp.dir}/test-buildid-set_output.xml">
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   114
            <namespace uri="" prefix=""/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   115
            <xpath expression="/diamonds-build[schema='23']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   116
        </xpathtest>
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   117
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   118
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   119
    <target name="test-buildid-notset">
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   120
        <au:assertFalse>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   121
            <isset property="diamonds.build.id"/>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   122
        </au:assertFalse>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   123
    </target>
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   124
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   125
    <target name="test-echo-operation">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   126
        <echo message="echo operation: test" />
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   127
        <au:assertTrue>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   128
            <isset property="diamonds.build.id"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   129
        </au:assertTrue>
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   130
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   131
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   132
    <target name="test-echo-operation1">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   133
        <echo message="echo operation1: test" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   134
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   135
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   136
    <target name="test-echo-operation2">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   137
        <echo message="echo operation2: test" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   138
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   139
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   140
    <target name="test-echo-operation3">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   141
        <echo message="echo operation3: test" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   142
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   143
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   144
    <target name="test-echo-operation4">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   145
        <echo message="echo operation4: test" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   146
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   147
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   148
    <target name="test-echo-operation5">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   149
        <echo message="echo operation5: test" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   150
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   151
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   152
    <target name="test-depend-target" depends="test-echo-operation" />
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   153
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   154
    <target name="test-ant-call">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   155
        <echo message="test-ant-call" />
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   156
        <delete file="${diamonds.output.dir}/diamonds_stage.xml" failonerror="false" />
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   157
        <antcall target="test-echo-operation1" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   158
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   159
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   160
    <target name="test-ant-call-multiple">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   161
        <echo message="test-ant-call" />
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   162
        <delete file="${diamonds.output.dir}/diamonds_stage.xml" failonerror="false" />
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   163
        <antcall target="test-echo-operation2" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   164
        <antcall target="test-echo-operation3" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   165
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   166
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   167
    <target name="test-ant-call-multiple-parallel">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   168
        <echo message="test-ant-call" />
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   169
        <delete file="${diamonds.output.dir}/diamonds_stage.xml" failonerror="false" />
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   170
        <parallel>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   171
            <antcall target="test-echo-operation4" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   172
            <antcall target="test-echo-operation5" />
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   173
        </parallel>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   174
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   175
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   176
    <target name="sequence-config-test-target-1">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   177
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   178
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   179
    <target name="sequence-config-test-target-2">
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   180
    </target>
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   181
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   182
    <target name="test-verify-targets">
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   183
        <get src="http://${diamonds.host}:${diamonds.port}${diamonds.build.id}?fmt=xml"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   184
             dest="${temp.dir}/test-verify-targets.xml" 
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   185
             usetimestamp="true" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   186
        <xpathtest xmlfile="${temp.dir}/test-verify-targets.xml">
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   187
            <namespace uri="" prefix=""/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   188
            <xpath expression="/diamonds-build/tools/tool[name='SymSEE']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   189
         </xpathtest>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   190
     </target>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   191
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   192
    <target name="test-verify-stages">
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   193
        <get src="http://${diamonds.host}:${diamonds.port}${diamonds.build.id}?fmt=xml"
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   194
             dest="${temp.dir}/test-verify-stages.xml" 
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   195
             usetimestamp="true" />
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   196
        <xpathtest xmlfile="${temp.dir}/test-verify-stages.xml">
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   197
            <namespace uri="" prefix=""/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   198
            <xpath expression="/diamonds-build/stages/stage[name='test-echo-operation']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   199
            <xpath expression="/diamonds-build/stages/stage[name='test-echo-operation1']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   200
            <xpath expression="/diamonds-build/stages/stage[name='test-echo-operation2']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   201
            <xpath expression="/diamonds-build/stages/stage[name='test-echo-operation3']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   202
            <xpath expression="/diamonds-build/stages/stage[name='test-echo-operation4']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   203
            <xpath expression="/diamonds-build/stages/stage[name='test-echo-operation5']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   204
            <xpath expression="/diamonds-build/stages/stage[name='stage-sequence-1']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   205
            <xpath expression="/diamonds-build/stages/stage[name='stage-sequence-2']"/>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   206
        </xpathtest>
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   207
    </target>        
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   208
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   209
    <target name="test-all" depends="test-buildid-notset, diamonds, test-buildid-set, test-defer-type, test-version,
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   210
        test-create-bom-log,test-codescanner,test-compile-target, test-depend-target,
588
c7c26511138f helium-10.0.0-bc45d50958fe
wbernard
parents: 587
diff changeset
   211
        test-ant-call, test-ant-call-multiple, test-ant-call-multiple-parallel, 
628
7c4a911dc066 helium_11.0.0-e00f171ca185
wbernard
parents: 588
diff changeset
   212
        sequence-config-test-target-1,sequence-config-test-target-2, test-verify-stages, test-verify-targets" />
587
85df38eb4012 helium_9.0-a7879c935424
wbernard
parents:
diff changeset
   213
</project>