summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-26 19:50:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-11-26 19:50:31 +0000
commit8a6831cb765b8ebec5b33e96ad93375999959955 (patch)
treec24e2c050056d08e34c2036388c3ffa7988cd449
parentfb39f7057eadd91a2ccf9c53d37f439d670c5db0 (diff)
2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* runtest.in: Filter out Memory exception error messages.
-rw-r--r--c/src/lib/libbsp/sparc/erc32/tools/ChangeLog4
-rw-r--r--c/src/lib/libbsp/sparc/erc32/tools/runtest.in10
2 files changed, 10 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/tools/ChangeLog b/c/src/lib/libbsp/sparc/erc32/tools/ChangeLog
index b3354db7e6..11a8b8c354 100644
--- a/c/src/lib/libbsp/sparc/erc32/tools/ChangeLog
+++ b/c/src/lib/libbsp/sparc/erc32/tools/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * runtest.in: Filter out Memory exception error messages.
+
2006-03-07 Joel Sherrill <joel@OARcorp.com>
* Makefile.am: Correct minor mistakes.
diff --git a/c/src/lib/libbsp/sparc/erc32/tools/runtest.in b/c/src/lib/libbsp/sparc/erc32/tools/runtest.in
index 36b7b4b057..9abbd22f81 100644
--- a/c/src/lib/libbsp/sparc/erc32/tools/runtest.in
+++ b/c/src/lib/libbsp/sparc/erc32/tools/runtest.in
@@ -2,7 +2,7 @@
#
# $Id$
#
-# Run rtems tests on the hppa simulator
+# Run rtems tests on the SPARC Instruction Simulator (SIS).
# This program generates a simulator script to run each test
# Typically the test is then run, although it can be generated
# and left as a file using -s
@@ -131,7 +131,7 @@ do
TEST_TYPE="single"
case $tname in
- monitor* | termios* | fileio*)
+ monitor* | termios* | fileio* | pppd*)
if [ $run_to_completion = "yes" ]
then
warn "Skipping $tname; it is interactive"
@@ -240,8 +240,9 @@ do
;;
*)
output_it=1
+ grep -v "Memory exception " ${logfile}.tmp | \
sed -e '1,9d' \
- -e 's/ //' -e '/^$/d' < ${logfile}.tmp |
+ -e 's/ //' -e '/^$/d' | \
while read line
do
if [ $output_it -eq 1 ] ; then
@@ -267,7 +268,8 @@ do
echo "Test run on: `uname -n` ( `uname -a` )"
output_it=0
- sed -e 's/ //' < ${logfile}.tmp |
+ grep -v "Memory exception " ${logfile}.tmp | \
+ sed -e 's/ //' | \
while read line
do
if [ $output_it -eq 1 ] ; then