config.sh 960 B

123456789101112131415161718192021222324252627282930313233343536
  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. eval `$SBS_HOME/bin/gethost.sh -e`
  19. if [[ "$HOSTPLATFORM" =~ "win" ]]; then
  20. TEST_SHELL=$(cygpath -w $SBS_HOME/win32/bin/talon.exe)
  21. TEST_TALON_SHELL=$(cygpath -w $SBS_CYGWIN/bin/bash.exe)
  22. else
  23. TEST_SHELL=$SBS_HOME/$HOSTPLATFORM_DIR/bin/talon
  24. TEST_TALON_SHELL=/bin/bash
  25. fi
  26. cat >settings.mk <<-endofsettings
  27. SHELL:=$TEST_SHELL
  28. TALON_SHELL:=$TEST_TALON_SHELL
  29. TALON_BUILDID:=100
  30. TALON_DEBUG:=""
  31. export TALON_SHELL TALON_BUILDID TALON_DEBUG
  32. endofsettings