sbsv2/raptor/util/talon/tests/config.sh
branchfix
changeset 379 59ec73480ed3
parent 353 bb0bded637e9
equal deleted inserted replaced
378:169ad30bb410 379:59ec73480ed3
    14 #
    14 #
    15 # Description: 
    15 # Description: 
    16 #
    16 #
    17 # set up the environment for some talon tests.
    17 # set up the environment for some talon tests.
    18 
    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 
    19 cat >settings.mk <<-endofsettings
    29 cat >settings.mk <<-endofsettings
    20 	SHELL:=$(cygpath -w $SBS_HOME/win32/bin/talon.exe)
    30 	SHELL:=$TEST_SHELL
    21 	TALON_SHELL:=$(cygpath -w $SBS_CYGWIN/bin/bash.exe)
    31 	TALON_SHELL:=$TEST_TALON_SHELL
    22 	TALON_BUILDID:=100
    32 	TALON_BUILDID:=100
    23 	TALON_DEBUG:=""
    33 	TALON_DEBUG:=""
    24 	export TALON_SHELL TALON_BUILDID TALON_DEBUG
    34 	export TALON_SHELL TALON_BUILDID TALON_DEBUG
    25 endofsettings
    35 endofsettings