diff options
| author | Prachi Gupta <pragupta@us.ibm.com> | 2014-07-18 10:58:25 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-08-01 15:08:11 -0500 |
| commit | 65067e28d9ff34d4fdc459b0d5963ac718b4849d (patch) | |
| tree | b441a338c46a1009fc3aeee044a3929c2f2a1fca /src/build/citest/setup-env | |
| parent | b2a728d907f4910811b86e88a265178e31f2f24f (diff) | |
| download | talos-hostboot-65067e28d9ff34d4fdc459b0d5963ac718b4849d.tar.gz talos-hostboot-65067e28d9ff34d4fdc459b0d5963ac718b4849d.zip | |
Fixed the hb errlparser cmd, it was overwritting sandbox name
CQ: SW267992
Change-Id: I98fb81331cb4f11fb0e428aef195be986680c76b
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12300
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/citest/setup-env')
| -rwxr-xr-x | src/build/citest/setup-env | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/src/build/citest/setup-env b/src/build/citest/setup-env index 3850bc14d..b73e11ea4 100755 --- a/src/build/citest/setup-env +++ b/src/build/citest/setup-env @@ -6,7 +6,9 @@ # # OpenPOWER HostBoot Project # -# COPYRIGHT International Business Machines Corp. 2014 +# Contributors Listed Below - COPYRIGHT 2014 +# [+] International Business Machines Corp. +# # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -35,7 +37,7 @@ then CXXTEST_SANDBOX="cxxtest_sb" else export RUNNING_UNDER_JENKINS=1 - CXXTEST_SANDBOX=`echo $JOB_NAME $BUILD_NUMBER | md5sum | head -c10` + CXXTEST_SANDBOX=`echo $JOB_NAME $BUILD_NUMBER | md5sum | head -c10` fi # Setup sandbox location variables. @@ -43,9 +45,20 @@ if [ -z $SANDBOXROOT ]; then export SANDBOXROOT=${HOSTBOOTROOT} fi -export SANDBOXNAME=${CXXTEST_SANDBOX} -export SANDBOXBASE=${SANDBOXROOT}/${SANDBOXNAME} -export SANDBOXRC=${SANDBOXROOT}/hbsandboxrc + +if [ -z $SANDBOXNAME ]; +then + export SANDBOXNAME=${CXXTEST_SANDBOX} +fi +if [ -z $SANDBOXBASE ]; +then + export SANDBOXBASE=${SANDBOXROOT}/${SANDBOXNAME} +fi + +if [ -z $SANDBOXRC ]; +then + export SANDBOXRC=${SANDBOXROOT}/hbsandboxrc +fi # Useful utility function. execute_in_sandbox() |

