diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-04-04 23:12:51 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-04-05 01:59:33 -0500 |
commit | 51122a9be84c74006c73009c706d726664c79cd8 (patch) | |
tree | 93b789a526ee85a4c6729a79d8b2bfaf3e18b2d1 /src/build | |
parent | 9c47de7d3c3283f828d9fd120e7db1b8213f23ff (diff) | |
download | talos-hostboot-51122a9be84c74006c73009c706d726664c79cd8.tar.gz talos-hostboot-51122a9be84c74006c73009c706d726664c79cd8.zip |
Do simics runs on local machine.
Change-Id: I494153647108324964272679abf3bb6c829609bd
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/10163
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build')
-rwxr-xr-x | src/build/citest/autocitest | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/build/citest/autocitest b/src/build/citest/autocitest index f3c84da73..54a85e4bf 100755 --- a/src/build/citest/autocitest +++ b/src/build/citest/autocitest @@ -273,8 +273,21 @@ waitkb # Start simics and wait for it to reach standby echo "Starting simics" + +# If we are running under Jenkins, do "no remote execution" because built in +# /tmp. +if [ -z $JOB_NAME -o -z $BUILD_NUMBER ]; +then + NRE="" +else + # Trick autosim into thinking we're running on a vexec system. + echo "echo \"Running on server $HOSTNAME ---\"" >> \ + ${SANDBOXBASE}/obj/ppc/simu/scripts/hbfw/startup.simics + NRE="-nre" +fi + #autosim $VERBOSE --startsim --chkpt standby <<< chkpt not working yet -autosim $NOWIN $VERBOSE --startsim +autosim $NOWIN $VERBOSE --startsim --sim_parms $NRE if [ $? -ne 0 ] ; then echo "ERROR: Unable to start simics $?" stopserver ## kill the server again. |