diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-04-21 20:19:35 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-04-25 15:48:37 -0500 |
commit | 1005ad99f997cd57b0be062794a64408aa1a5042 (patch) | |
tree | be8ff259fd4241d0ac1772a86dbb7aaa4f9dd8f9 /src/build | |
parent | 06c726df9e0adfab971d7925e0ae0908b9229527 (diff) | |
download | talos-hostboot-1005ad99f997cd57b0be062794a64408aa1a5042.tar.gz talos-hostboot-1005ad99f997cd57b0be062794a64408aa1a5042.zip |
Speed up trace collection for CI.
Change-Id: I77276cd016874f351d02fa7885ab28c7707d2e71
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10675
Tested-by: Jenkins Server
Reviewed-by: Donald E. Dahle <dedahle@us.ibm.com>
Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build')
-rwxr-xr-x | src/build/citest/autocitest | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/build/citest/autocitest b/src/build/citest/autocitest index 48ba60d92..499af98ae 100755 --- a/src/build/citest/autocitest +++ b/src/build/citest/autocitest @@ -74,7 +74,6 @@ function runtraceHB() { echo "Collect traceHB info..." - `pwd` #autosim $NOWIN --simcmd "run-python-file ${SBXHOME}/src/build/simics/hb-simdebug.py" #if [ $? -ne 0 ] ; then @@ -84,14 +83,16 @@ function runtraceHB() # exit 1 #fi - autosim $NOWIN --simcmd "hb-trace" --timeout 300 + autosim $NOWIN --simcmd "pipe hb-trace \"cat > traceHB.log\"" \ + --timeout 300 if [ $? -ne 0 ] ; then echo "ERROR 4 : Unable to run $?" stopsim stopserver exit 1 fi - + + mv ${SANDBOXBASE}/simics/traceHB.log ${SBXHOME}/traceHB.log } @@ -132,9 +133,6 @@ fi ## Find the .syms file for the image. Remove extension, add .syms. HBICORE_TEST_SYMS="${HBICORE_TEST%%.*}.syms" -CPFILES="${SBXHOME}/src/build/tools/hbDistribute" - - ## let's get set up cd $SBXHOME @@ -354,7 +352,7 @@ fi ## run CamVan's python script to dump out the trace logs echo "====> dump trace buffer(s)..." -runtraceHB 1> $SBXHOME/traceHB.log 2> /dev/null +runtraceHB if [ $? -ne 0 ] ; then echo "ERROR: Unable to run $?" stopsim |