sbsv2/raptor/util/talon/tests/config.sh
author jjkang
Fri, 25 Jun 2010 19:56:45 +0800
changeset 604 b33dd54aaa52
parent 602 3145852acc89
permissions -rw-r--r--
add cpptoolsplat
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
602
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     1
#!/bin/bash
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     2
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     3
# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     4
# All rights reserved.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     5
# This component and the accompanying materials are made available
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     6
# under the terms of the License "Eclipse Public License v1.0"
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     7
# which accompanies this distribution, and is available
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     8
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
     9
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    10
# Initial Contributors:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    11
# Nokia Corporation - initial contribution.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    12
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    13
# Contributors:
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    14
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    15
# Description: 
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    16
#
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    17
# set up the environment for some talon tests.
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    18
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    19
eval `$SBS_HOME/bin/gethost.sh -e`
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    20
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    21
if [[ "$HOSTPLATFORM" =~ "win" ]]; then
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    22
TEST_SHELL=$(cygpath -w $SBS_HOME/win32/bin/talon.exe)
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    23
TEST_TALON_SHELL=$(cygpath -w $SBS_CYGWIN/bin/bash.exe)
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    24
else
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    25
TEST_SHELL=$SBS_HOME/$HOSTPLATFORM_DIR/bin/talon
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    26
TEST_TALON_SHELL=/bin/bash
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    27
fi
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    28
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    29
cat >settings.mk <<-endofsettings
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    30
	SHELL:=$TEST_SHELL
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    31
	TALON_SHELL:=$TEST_TALON_SHELL
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    32
	TALON_BUILDID:=100
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    33
	TALON_DEBUG:=""
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    34
	export TALON_SHELL TALON_BUILDID TALON_DEBUG
3145852acc89 add releasing to new structure
jjkang
parents:
diff changeset
    35
endofsettings