equal
deleted
inserted
replaced
|
1 #!/bin/bash |
|
2 # |
|
3 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
4 # All rights reserved. |
|
5 # This component and the accompanying materials are made available |
|
6 # under the terms of the License "Eclipse Public License v1.0" |
|
7 # which accompanies this distribution, and is available |
|
8 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 # |
|
10 # Initial Contributors: |
|
11 # Nokia Corporation - initial contribution. |
|
12 # |
|
13 # Contributors: |
|
14 # |
|
15 # Description: |
|
16 # |
|
17 # set up the environment for some talon tests. |
|
18 |
|
19 eval `$SBS_HOME/bin/gethost.sh -e` |
|
20 |
|
21 if [[ "$HOSTPLATFORM" =~ "win" ]]; then |
|
22 TEST_SHELL=$(cygpath -w $SBS_HOME/win32/bin/talon.exe) |
|
23 TEST_TALON_SHELL=$(cygpath -w $SBS_CYGWIN/bin/bash.exe) |
|
24 else |
|
25 TEST_SHELL=$SBS_HOME/$HOSTPLATFORM_DIR/bin/talon |
|
26 TEST_TALON_SHELL=/bin/bash |
|
27 fi |
|
28 |
|
29 cat >settings.mk <<-endofsettings |
|
30 SHELL:=$TEST_SHELL |
|
31 TALON_SHELL:=$TEST_TALON_SHELL |
|
32 TALON_BUILDID:=100 |
|
33 TALON_DEBUG:="" |
|
34 export TALON_SHELL TALON_BUILDID TALON_DEBUG |
|
35 endofsettings |