sbsv2/raptor/util/talon/tests/t6.mk
author andy simpson <andrews@symbian.org>
Fri, 30 Jul 2010 15:23:44 +0100
changeset 623 997c1de7c6ee
parent 353 bb0bded637e9
permissions -rw-r--r--
DEADHEAD Branch no longer active as changes incorporated in revision c26070468a42
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