sbsv2/raptor/util/talon/tests/t6.mk
author Richard Taylor <richard.i.taylor@nokia.com>
Thu, 22 Apr 2010 11:11:51 +0100
changeset 441 2a5f14510047
parent 353 bb0bded637e9
permissions -rw-r--r--
Added tag 2.12.2 for changeset 1e23e973ab85
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
353
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
     1
#
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
     2
# Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
     3
# All rights reserved.
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
     4
# This component and the accompanying materials are made available
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
     5
# under the terms of the License "Eclipse Public License v1.0"
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
     6
# which accompanies this distribution, and is available
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
     8
#
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
     9
# Initial Contributors:
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    11
#
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    12
# Contributors:
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    13
#
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    14
# Description: 
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    15
#
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    16
include settings.mk
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    17
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    18
# Making sure that forcesuccess works.
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    19
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    20
TALON_RECIPEATTRIBUTES:=flags='$$TALON_FLAGS'
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    21
TALON_RETRIES:=1
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    22
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    23
export TALON_RECIPEATTRIBUTES TALON_RETRIES
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    24
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    25
.PHONY: all fred
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    26
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    27
all: fred
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    28
	@echo "t6-PASSED"
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    29
	
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    30
fred:
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    31
	|TALON_FLAGS=FORCESUCCESS;|echo "Forcesuccess'd command"; exit 1
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    32
bb0bded637e9 SF Bug 2191 - [Raptor] - When forcesuccess is enabled, exit status for a failed recipe is "retry" but should be "failed"
timothy.murphy@nokia.com
parents:
diff changeset
    33