summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-11 21:14:41 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-11 21:14:41 +0000
commite5330c1621c3bc34088c5ba89e9212af67cefe53 (patch)
tree51ae3c28a606b20d6a1ceecb031ecbc5d6269d01 /c
parent2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-e5330c1621c3bc34088c5ba89e9212af67cefe53.tar.bz2
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Now tries to work with tsim.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/sparc/leon3/tools/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sparc/leon3/tools/runtest.in16
2 files changed, 12 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/tools/ChangeLog b/c/src/lib/libbsp/sparc/leon3/tools/ChangeLog
index d0e5483101..27af91d662 100644
--- a/c/src/lib/libbsp/sparc/leon3/tools/ChangeLog
+++ b/c/src/lib/libbsp/sparc/leon3/tools/ChangeLog
@@ -1,3 +1,7 @@
+2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * runtest.in: Now tries to work with tsim.
+
2007-01-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Use MKDIR_P instead of mkdir_p.
diff --git a/c/src/lib/libbsp/sparc/leon3/tools/runtest.in b/c/src/lib/libbsp/sparc/leon3/tools/runtest.in
index caf9b76297..d5b1050c59 100644
--- a/c/src/lib/libbsp/sparc/leon3/tools/runtest.in
+++ b/c/src/lib/libbsp/sparc/leon3/tools/runtest.in
@@ -182,7 +182,7 @@ do
# All other tests (single-processor)
*)
echo "load $tfile"
- echo "go 0x02000000"
+ echo "go 0x40000000"
echo ""
echo "perf"
echo "quit"
@@ -199,7 +199,7 @@ do
fi
# Spin off the simulator in the background
- sparc-rtems-sis $extra_options -c ${scriptfile} >${logfile}.tmp &
+ tsim-leon3 $extra_options -c ${scriptfile} >${logfile}.tmp &
sim_pid=$!
# Make sure it won't run forever...
@@ -240,16 +240,16 @@ do
;;
*)
output_it=1
- sed -e '1,9d' \
+ sed -e '1,19d' \
-e 's/ //' -e '/^$/d' < ${logfile}.tmp |
while read line
do
if [ $output_it -eq 1 ] ; then
- if [ "$line" = "sis> perf" ] ; then
+ if [ "$line" = "tsim> perf" ] ; then
output_it=0
- elif [ "$line" = "sis> quit" ] ; then
+ elif [ "$line" = "tsim> quit" ] ; then
output_it=0
- elif [ "$line" = "sis>" ] ; then
+ elif [ "$line" = "tsim>" ] ; then
output_it=0
else
echo "$line"
@@ -271,13 +271,13 @@ do
while read line
do
if [ $output_it -eq 1 ] ; then
- if [ "$line" = "sis> quit" ] ; then
+ if [ "$line" = "tsim> quit" ] ; then
output_it=0
else
echo "$line"
fi
else
- if [ "$line" = "sis> perf" ] ; then
+ if [ "$line" = "tsim> perf" ] ; then
output_it=1
fi
fi