summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCamVan Nguyen <ctnguyen@us.ibm.com>2011-09-21 14:33:02 -0500
committerCAMVAN T. NGUYEN <ctnguyen@us.ibm.com>2011-09-21 14:59:03 -0500
commitb8c29e89751fd2cd5b5fd3f450d51fe97db9e4b7 (patch)
tree8a3a1029e119c1c560db3cc71526d46f554e453f /src
parentf7db11c7b05a12310e5a0200065f49caa99ac86f (diff)
downloadtalos-hostboot-b8c29e89751fd2cd5b5fd3f450d51fe97db9e4b7.tar.gz
talos-hostboot-b8c29e89751fd2cd5b5fd3f450d51fe97db9e4b7.zip
Added code to dump L3 to autocitest
Change-Id: Ic3663d0b27c7f084cba5d3b979468e96d76d05f0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/354 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/build/citest/autocitest30
1 files changed, 19 insertions, 11 deletions
diff --git a/src/build/citest/autocitest b/src/build/citest/autocitest
index 3a1a4fcaf..a1838677a 100755
--- a/src/build/citest/autocitest
+++ b/src/build/citest/autocitest
@@ -77,13 +77,13 @@ function runtraceHB()
echo "Collect traceHB info..."
`pwd`
- autosim $NOWIN --simcmd "run-python-file ${SBXHOME}/src/build/simics/hb-simdebug.py"
- if [ $? -ne 0 ] ; then
- echo "ERROR 3: Unable to run $?"
- stopsim
- stopserver
- exit 1
- fi
+ #autosim $NOWIN --simcmd "run-python-file ${SBXHOME}/src/build/simics/hb-simdebug.py"
+ #if [ $? -ne 0 ] ; then
+ # echo "ERROR 3: Unable to run $?"
+ # stopsim
+ # stopserver
+ # exit 1
+ #fi
autosim $NOWIN --simcmd "hb-trace"
if [ $? -ne 0 ] ; then
@@ -152,8 +152,8 @@ HBICORE_TEST_EXTENDED="${HBICORE_TEST%%.*}_extended.bin"
## Find the hbotStringfile for traceHB.
HBICORE_TEST_STRINGFILE="${SBXHOME}/img/hbotStringFile"
-## Set the path to the traceHB.py script
-TRACEHB_PYTHON_FILE="${SBXHOME}/src/build/trace/traceHB.py"
+## Set the path to the hb-simdebug.py script
+SIMDEBUG_PYTHON_FILE="${SBXHOME}/src/build/simics/hb-simdebug.py"
CPFILES="${SBXHOME}/src/build/tools/cpfiles.pl"
@@ -170,7 +170,7 @@ echo "HBICORE_TEST = $HBICORE_TEST"
echo "HBICORE_TEST_EXTENDED = $HBICORE_TEST_EXTENDED"
echo "HBICORE_TEST_SYMS = $HBICORE_TEST_SYMS"
echo "HBICORE_TEST_STRINGFILE = $HBICORE_TEST_STRINGFILE"
-echo "TRACEHB_PYTHON_FILE = $TRACEHB_PYTHON_FILE"
+echo "SIMDEBUG_PYTHON_FILE = $SIMDEBUG_PYTHON_FILE"
echo "SANDBOXRC = $SANDBOXRC"
echo "SBXHOME = $SBXHOME"
echo "current directory is " `pwd`
@@ -410,6 +410,15 @@ if [ $? -ne 0 ] ; then
exit 1
fi
+echo "====> dump L3..."
+autosim $NOWIN --simcmd "hb-dump"
+if [ $? -ne 0 ] ; then
+ echo "ERROR 4 : Unable to run $?"
+ stopsim
+ stopserver
+ exit 1
+fi
+
########################################################
## done. Stop the simulation
########################################################
@@ -431,7 +440,6 @@ shutdown_code="$(grep --text 'Shutdown Requested' $SBXHOME/testprintk.log | awk
echo "----------------- traceHB Buffer -------------------"
cat $SBXHOME/traceHB.log
-
initfail=0
echo "Shutdown Code = $shutdown_code"
if [ "${shutdown_code}" != "0000000001230000" ]
OpenPOWER on IntegriCloud