sbsv2/raptor/util/talon/tests/t6.mk
author yiluzhu
Tue, 25 May 2010 10:23:35 +0100
branchfix
changeset 570 971d2c670e06
parent 353 bb0bded637e9
permissions -rw-r--r--
SF bug 2203 [Raptor] Building extension makefile with SBS_BUILD_DIR set to another drive
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