summaryrefslogtreecommitdiffstats
path: root/src/build
diff options
context:
space:
mode:
Diffstat (limited to 'src/build')
-rwxr-xr-xsrc/build/citest/autocitest12
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
OpenPOWER on IntegriCloud