diff options
author | Stephen Cprek <smcprek@us.ibm.com> | 2017-01-13 15:30:32 -0600 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-01-14 08:26:53 -0500 |
commit | 6f5121da6e5b73b3013f46d5acc78344b22d2481 (patch) | |
tree | f9ce860996a8b02c40f9b96e2f96dda40fafedc8 /src/build/citest/create-sandbox | |
parent | dd2e08d91ee4d70ea6a7ffb8ae5c35cce3df6cde (diff) | |
download | talos-hostboot-6f5121da6e5b73b3013f46d5acc78344b22d2481.tar.gz talos-hostboot-6f5121da6e5b73b3013f46d5acc78344b22d2481.zip |
Change autocitest to run pre/post simsetup workarounds in sb cmd
Change-Id: I29ce0def93ef8c2c81e609c69480ebabfd8e3433
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34866
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Thi N. Tran <thi@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/build/citest/create-sandbox')
-rwxr-xr-x | src/build/citest/create-sandbox | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/build/citest/create-sandbox b/src/build/citest/create-sandbox index aef77427d..068734394 100755 --- a/src/build/citest/create-sandbox +++ b/src/build/citest/create-sandbox @@ -6,7 +6,7 @@ # # OpenPOWER HostBoot Project # -# Contributors Listed Below - COPYRIGHT 2014,2016 +# Contributors Listed Below - COPYRIGHT 2014,2017 # [+] International Business Machines Corp. # # @@ -61,7 +61,9 @@ export bbsrc=$BACKING_BUILD/src echo "----Running presimsetup workarounds." if [ -f ${CITESTPATH}/etc/workarounds.presimsetup ]; then - ${CITESTPATH}/etc/workarounds.presimsetup || exit -1 + execute_in_sandbox "export BACKING_BUILD=\$bb && \ + ${CITESTPATH}/etc/workarounds.presimsetup" "ppc" \ + || exit -1 fi # Run start_simics to populate simics directories. @@ -73,6 +75,8 @@ execute_in_sandbox "start_simics -no_start -machine $MACHINE -batch_mode" \ echo "----Running postsimsetup workarounds." if [ -f ${CITESTPATH}/etc/workarounds.postsimsetup ]; then - ${CITESTPATH}/etc/workarounds.postsimsetup || exit -1 + execute_in_sandbox "export BACKING_BUILD=\$bb && \ + ${CITESTPATH}/etc/workarounds.postsimsetup" "ppc" \ + || exit -1 fi |