forked from Imagelibrary/rtems
2007-05-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Now tries to work with tsim.
This commit is contained in:
@@ -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>
|
2007-01-26 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* Makefile.am: Use MKDIR_P instead of mkdir_p.
|
* Makefile.am: Use MKDIR_P instead of mkdir_p.
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ do
|
|||||||
# All other tests (single-processor)
|
# All other tests (single-processor)
|
||||||
*)
|
*)
|
||||||
echo "load $tfile"
|
echo "load $tfile"
|
||||||
echo "go 0x02000000"
|
echo "go 0x40000000"
|
||||||
echo ""
|
echo ""
|
||||||
echo "perf"
|
echo "perf"
|
||||||
echo "quit"
|
echo "quit"
|
||||||
@@ -199,7 +199,7 @@ do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Spin off the simulator in the background
|
# 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=$!
|
sim_pid=$!
|
||||||
|
|
||||||
# Make sure it won't run forever...
|
# Make sure it won't run forever...
|
||||||
@@ -240,16 +240,16 @@ do
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
output_it=1
|
output_it=1
|
||||||
sed -e '1,9d' \
|
sed -e '1,19d' \
|
||||||
-e 's/
|
-e 's/
|
||||||
//' -e '/^$/d' < ${logfile}.tmp |
|
//' -e '/^$/d' < ${logfile}.tmp |
|
||||||
while read line
|
while read line
|
||||||
do
|
do
|
||||||
if [ $output_it -eq 1 ] ; then
|
if [ $output_it -eq 1 ] ; then
|
||||||
if [ "$line" = "tsim> perf" ] ; then
|
if [ "$line" = "tsim> perf" ] ; then
|
||||||
output_it=0
|
output_it=0
|
||||||
elif [ "$line" = "tsim> quit" ] ; then
|
elif [ "$line" = "tsim> quit" ] ; then
|
||||||
output_it=0
|
output_it=0
|
||||||
elif [ "$line" = "tsim>" ] ; then
|
elif [ "$line" = "tsim>" ] ; then
|
||||||
output_it=0
|
output_it=0
|
||||||
else
|
else
|
||||||
@@ -271,13 +271,13 @@ do
|
|||||||
sed -e 's/
|
sed -e 's/
|
||||||
//' < ${logfile}.tmp |
|
//' < ${logfile}.tmp |
|
||||||
while read line
|
while read line
|
||||||
do
|
do
|
||||||
if [ $output_it -eq 1 ] ; then
|
if [ $output_it -eq 1 ] ; then
|
||||||
if [ "$line" = "tsim> quit" ] ; then
|
if [ "$line" = "tsim> quit" ] ; then
|
||||||
output_it=0
|
output_it=0
|
||||||
else
|
else
|
||||||
echo "$line"
|
echo "$line"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$line" = "tsim> perf" ] ; then
|
if [ "$line" = "tsim> perf" ] ; then
|
||||||
output_it=1
|
output_it=1
|
||||||
|
|||||||
Reference in New Issue
Block a user