sbsv2/raptor/util/talon/tests/config.sh
author raptorbot
Thu, 03 Jun 2010 16:47:22 +0100
changeset 581 001207698765
parent 353 bb0bded637e9
permissions -rw-r--r--
Added tag stable for changeset 6209aeff0f73
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
251
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
     1
#!/bin/bash
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
     2
#
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
     3
# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
     4
# All rights reserved.
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
     5
# This component and the accompanying materials are made available
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
     6
# under the terms of the License "Eclipse Public License v1.0"
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
     7
# which accompanies this distribution, and is available
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
     8
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
     9
#
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    10
# Initial Contributors:
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    11
# Nokia Corporation - initial contribution.
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    12
#
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    13
# Contributors:
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    14
#
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    15
# Description: 
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    16
#
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    17
# set up the environment for some talon tests.
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    18
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: 251
diff changeset
    19
eval `$SBS_HOME/bin/gethost.sh -e`
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: 251
diff changeset
    20
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: 251
diff changeset
    21
if [[ "$HOSTPLATFORM" =~ "win" ]]; then
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: 251
diff changeset
    22
TEST_SHELL=$(cygpath -w $SBS_HOME/win32/bin/talon.exe)
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: 251
diff changeset
    23
TEST_TALON_SHELL=$(cygpath -w $SBS_CYGWIN/bin/bash.exe)
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: 251
diff changeset
    24
else
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: 251
diff changeset
    25
TEST_SHELL=$SBS_HOME/$HOSTPLATFORM_DIR/bin/talon
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: 251
diff changeset
    26
TEST_TALON_SHELL=/bin/bash
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: 251
diff changeset
    27
fi
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: 251
diff changeset
    28
251
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    29
cat >settings.mk <<-endofsettings
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: 251
diff changeset
    30
	SHELL:=$TEST_SHELL
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: 251
diff changeset
    31
	TALON_SHELL:=$TEST_TALON_SHELL
251
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    32
	TALON_BUILDID:=100
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    33
	TALON_DEBUG:=""
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    34
	export TALON_SHELL TALON_BUILDID TALON_DEBUG
64208ed747d4 SF Bug 2000 - Talon fails when installed in a path containing the string '-c' (windows only)
raptorbot <raptorbot@systemstesthead.symbian.intra>
parents:
diff changeset
    35
endofsettings