diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-27 18:45:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-09-27 18:45:51 +0000 |
commit | b20795c801877b93e663c103eb29f0e5c75bda97 (patch) | |
tree | 32e6c2835e03d8ad7fb8d1ba2df72d486ad9398c /sim-scripts | |
parent | c2da3834bc166269600ccc54ad7d7b1ac4538d32 (diff) |
2009-09-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* avrtest.in, ezkit533.in, h8sim.in, jmr3904.in, lm32_evr.in,
m32csim.in, m32rsim.in, pc386.in, psim.in, qemu-leon2.in, qemuppc.in,
simsh.in, sis.in, uC5282.in: Fix typos. Support coverage and adjust
run times on uC5282.
Diffstat (limited to 'sim-scripts')
-rw-r--r-- | sim-scripts/ChangeLog | 7 | ||||
-rw-r--r-- | sim-scripts/avrtest.in | 2 | ||||
-rw-r--r-- | sim-scripts/ezkit533.in | 2 | ||||
-rw-r--r-- | sim-scripts/h8sim.in | 2 | ||||
-rw-r--r-- | sim-scripts/jmr3904.in | 2 | ||||
-rw-r--r-- | sim-scripts/lm32_evr.in | 2 | ||||
-rw-r--r-- | sim-scripts/m32csim.in | 2 | ||||
-rw-r--r-- | sim-scripts/m32rsim.in | 2 | ||||
-rw-r--r-- | sim-scripts/pc386.in | 4 | ||||
-rw-r--r-- | sim-scripts/psim.in | 2 | ||||
-rw-r--r-- | sim-scripts/qemu-leon2.in | 2 | ||||
-rw-r--r-- | sim-scripts/qemuppc.in | 2 | ||||
-rw-r--r-- | sim-scripts/simsh.in | 2 | ||||
-rw-r--r-- | sim-scripts/sis.in | 2 | ||||
-rw-r--r-- | sim-scripts/uC5282.in | 19 |
15 files changed, 36 insertions, 18 deletions
diff --git a/sim-scripts/ChangeLog b/sim-scripts/ChangeLog index bbc2005..6a99043 100644 --- a/sim-scripts/ChangeLog +++ b/sim-scripts/ChangeLog @@ -1,3 +1,10 @@ +2009-09-27 Joel Sherrill <joel.sherrill@oarcorp.com> + + * avrtest.in, ezkit533.in, h8sim.in, jmr3904.in, lm32_evr.in, + m32csim.in, m32rsim.in, pc386.in, psim.in, qemu-leon2.in, qemuppc.in, + simsh.in, sis.in, uC5282.in: Fix typos. Support coverage and adjust + run times on uC5282. + 2009-09-25 Joel Sherrill <joel.sherrill@OARcorp.com> * gdb-sim-run.in: Initialize bspRunsFailRandomly to default. diff --git a/sim-scripts/avrtest.in b/sim-scripts/avrtest.in index 1715306..76f165e 100644 --- a/sim-scripts/avrtest.in +++ b/sim-scripts/avrtest.in @@ -20,7 +20,7 @@ checkBSPFaults() bspLimit()
{
testname=$1
- case ${tname} in
+ case ${testname} in
*stackchk*)limit=5 ;;
*fatal*) limit=1 ;;
*psxtime*) limit=180 ;;
diff --git a/sim-scripts/ezkit533.in b/sim-scripts/ezkit533.in index eaeee7d..7c759c0 100644 --- a/sim-scripts/ezkit533.in +++ b/sim-scripts/ezkit533.in @@ -15,7 +15,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/h8sim.in b/sim-scripts/h8sim.in index 28cfdc7..73687d7 100644 --- a/sim-scripts/h8sim.in +++ b/sim-scripts/h8sim.in @@ -17,7 +17,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/jmr3904.in b/sim-scripts/jmr3904.in index bca0423..d2f6ef1 100644 --- a/sim-scripts/jmr3904.in +++ b/sim-scripts/jmr3904.in @@ -25,7 +25,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/lm32_evr.in b/sim-scripts/lm32_evr.in index 9aed901..e82db57 100644 --- a/sim-scripts/lm32_evr.in +++ b/sim-scripts/lm32_evr.in @@ -46,7 +46,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/m32csim.in b/sim-scripts/m32csim.in index 0a8236d..51aa666 100644 --- a/sim-scripts/m32csim.in +++ b/sim-scripts/m32csim.in @@ -17,7 +17,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/m32rsim.in b/sim-scripts/m32rsim.in index c53dafd..0ffe0e4 100644 --- a/sim-scripts/m32rsim.in +++ b/sim-scripts/m32rsim.in @@ -16,7 +16,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/pc386.in b/sim-scripts/pc386.in index 37724d1..e02d54a 100644 --- a/sim-scripts/pc386.in +++ b/sim-scripts/pc386.in @@ -108,7 +108,7 @@ bspLimit() convertTraceToCoverageMap() { - trace_converter -l 100000 -h 200000 -f QEMU ${1}.tra ${1}.cov - + trace_converter -l 100000 -h 200000 -f QEMU ${1}.tra ${1}.cov } + bspGeneratesDeviceTree="no" diff --git a/sim-scripts/psim.in b/sim-scripts/psim.in index f5c903c..35e5bd7 100644 --- a/sim-scripts/psim.in +++ b/sim-scripts/psim.in @@ -17,7 +17,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/qemu-leon2.in b/sim-scripts/qemu-leon2.in index 3cd228c..904aa78 100644 --- a/sim-scripts/qemu-leon2.in +++ b/sim-scripts/qemu-leon2.in @@ -23,7 +23,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/qemuppc.in b/sim-scripts/qemuppc.in index 9c1e75e..71c31f2 100644 --- a/sim-scripts/qemuppc.in +++ b/sim-scripts/qemuppc.in @@ -32,7 +32,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=270 ;; diff --git a/sim-scripts/simsh.in b/sim-scripts/simsh.in index 9f8a5f5..ad91966 100644 --- a/sim-scripts/simsh.in +++ b/sim-scripts/simsh.in @@ -17,7 +17,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/sis.in b/sim-scripts/sis.in index 992d7bd..3941997 100644 --- a/sim-scripts/sis.in +++ b/sim-scripts/sis.in @@ -17,7 +17,7 @@ checkBSPFaults() bspLimit() { testname=$1 - case ${tname} in + case ${testname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; *psxtime*) limit=180 ;; diff --git a/sim-scripts/uC5282.in b/sim-scripts/uC5282.in index 405fec1..3f7baee 100644 --- a/sim-scripts/uC5282.in +++ b/sim-scripts/uC5282.in @@ -7,9 +7,10 @@ bspUsesGDBSimulator="no" # bspGeneratesGDBCommands="yes" # bspSupportsGDBServerMode="yes" +bspNeedsTraceConversion="yes" -if [ -r ${HOME}/qemu-coverage/install-0.11.0-rc1/bin/qemu-system-m68k ] ; then - runBSP=${HOME}/qemu-coverage/install-0.11.0-rc1/bin/qemu-system-m68k +if [ -r ${HOME}/qemu-coverage/install/bin/qemu-system-m68k ] ; then + runBSP=${HOME}/qemu-coverage/install/bin/qemu-system-m68k else runBSP=qemu-system-m68k fi @@ -18,7 +19,17 @@ bspNeedsDos2Unix="yes" runARGS() { - echo "-M uc5282 -nographic -kernel ${1}" + if [ ${coverage} = yes ] ; then + rm -f trace ${1}.tra + COVERAGE_ARG="-trace ${1}.tra" + fi + + echo "-M uc5282 -nographic ${COVERAGE_ARG} -kernel ${1}" +} + +convertTraceToCoverageMap() +{ + trace_converter -l 40000 -h 140000 -f QEMU ${1}.tra ${1}.cov } checkBSPFaults() @@ -28,7 +39,7 @@ checkBSPFaults() bspLimit() { - testname=$1 + tname=$1 case ${tname} in *stackchk*)limit=5 ;; *fatal*) limit=1 ;; |