diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-01-08 13:29:07 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-01-08 13:40:38 -0600 |
commit | 35a3f7561d6fb47bf45cabd468d635e9bf91824a (patch) | |
tree | 7af097b61c2eac735b393cb5ae1f4ecaef59978d | |
parent | gcc/rtems_gcc_main.c: Include <bsp.h> (diff) | |
download | rtems-testing-35a3f7561d6fb47bf45cabd468d635e9bf91824a.tar.bz2 |
sis.in: Quit on memory exception
-rw-r--r-- | sim-scripts/sis.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sim-scripts/sis.in b/sim-scripts/sis.in index bc74105..9ae084b 100644 --- a/sim-scripts/sis.in +++ b/sim-scripts/sis.in @@ -9,6 +9,12 @@ runARGS() checkBSPFaults() { + logfile=$1 + grep "^Memory exception at " ${logfile} + badAccessExit=$? + if [ $badAccessExit -eq 0 ] ; then + return 1 + fi return 0 } |