summaryrefslogtreecommitdiff
path: root/sim-scripts
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-10 19:03:43 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-09-10 19:03:43 +0000
commit48ddcb2f1adef3ec05ea272270d45d670f59c253 (patch)
tree9868470dfccca29d3e66a717d94907fd899ba2e2 /sim-scripts
parent42adeb2194cdf5783756ac9e4f7beb43bf583771 (diff)
2009-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
* gdb-sim-run.in: Add stty sane if simulator aborts. * qemu-uc5282.in: psxtime takes a long time.
Diffstat (limited to 'sim-scripts')
-rw-r--r--sim-scripts/ChangeLog5
-rwxr-xr-xsim-scripts/gdb-sim-run.in3
-rw-r--r--sim-scripts/qemu-uc5282.in2
3 files changed, 9 insertions, 1 deletions
diff --git a/sim-scripts/ChangeLog b/sim-scripts/ChangeLog
index 7bc3cee..fccbee8 100644
--- a/sim-scripts/ChangeLog
+++ b/sim-scripts/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-10 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * gdb-sim-run.in: Add stty sane if simulator aborts.
+ * qemu-uc5282.in: psxtime takes a long time.
+
2009-09-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* qemu-leon2.in, qemu-uc5282.in: Add test name.
diff --git a/sim-scripts/gdb-sim-run.in b/sim-scripts/gdb-sim-run.in
index f1df9ec..892c416 100755
--- a/sim-scripts/gdb-sim-run.in
+++ b/sim-scripts/gdb-sim-run.in
@@ -258,6 +258,9 @@ runtest()
testtype=${2}
max_run_time=${3}
+ # Just in case the simulator aborts and messes up the terminal
+ trap "stty sane" SIGABRT return
+
test ${verbose} == 'yes' && echo ${runBSP} `runARGS ${testname}`
if [ ${max_run_time} -eq 0 ] ; then
diff --git a/sim-scripts/qemu-uc5282.in b/sim-scripts/qemu-uc5282.in
index 863c6b8..1e15242 100644
--- a/sim-scripts/qemu-uc5282.in
+++ b/sim-scripts/qemu-uc5282.in
@@ -26,7 +26,7 @@ bspLimit()
case ${tname} in
*stackchk*)limit=5 ;;
*fatal*) limit=1 ;;
- *psxtime*) limit=180 ;;
+ *psxtime*) limit=270 ;;
*) limit=60 ;;
esac
echo ${limit}