diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-20 17:31:31 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-20 17:31:31 +0000 |
commit | 66dcbe8bb402ae53cccfdca9714710a646ca6c9b (patch) | |
tree | 1711ffee84589ee4e768aeef65d82dea92978e2e /sim-scripts/gdb-sim-run.in | |
parent | 2009-01-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-testing-66dcbe8bb402ae53cccfdca9714710a646ca6c9b.tar.bz2 |
2009-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* .cvsignore, Makefile, README, gdb-sim-run.in: Add first cut at ERC32.
Need to test on machine with TSIM license.
* erc32.in: New file.
Diffstat (limited to 'sim-scripts/gdb-sim-run.in')
-rwxr-xr-x | sim-scripts/gdb-sim-run.in | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sim-scripts/gdb-sim-run.in b/sim-scripts/gdb-sim-run.in index aac9c76..7993d58 100755 --- a/sim-scripts/gdb-sim-run.in +++ b/sim-scripts/gdb-sim-run.in @@ -215,10 +215,15 @@ do *fatal*) testtype="fatal" ;; *) testtype="single" ;; esac + # calculate the limit in case it is used by the simulator script + if [ ${limit} = "not_set" ] ; then + bspLimit ${toRun} + limit=$? + fi - ## Some BSPs must generate device trees to provide to the simulator + ## Some BSPs must generate device trees or scripts to provide to the simulator if [ ${bspGeneratesDeviceTree} = "yes" ] ; then - bspGenerateDeviceTree ${baseToRun} >${bspTreeFile} + bspGenerateDeviceTree ${baseToRun} ${toRun} >${bspTreeFile} if [ ${generate_tree_and_exit} = "yes" ] ; then echo "Device tree generated and in ${bspTreeFile}" exit 0 @@ -230,10 +235,6 @@ do continue fi - if [ ${limit} = "not_set" ] ; then - bspLimit ${toRun} - limit=$? - fi if [ ${testtype} = "fatal" -a ${bspRunFatal} = "no" ] ; then warn "Skipping fatal error test ${toRun}" continue |