summaryrefslogtreecommitdiffstats
path: root/c/src/tests/tools
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-29 18:41:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-04-29 18:41:53 +0000
commit2993cd3f603bb5f2a48257b9c1ab9435b7ee3e7c (patch)
tree46079914b76c8691fc6a61aa4f0daef3b27c2287 /c/src/tests/tools
parent96d56b36902a1043c5834776411261c26872f4b8 (diff)
downloadrtems-2993cd3f603bb5f2a48257b9c1ab9435b7ee3e7c.tar.bz2
Added support for debug variants on tests.
Diffstat (limited to 'c/src/tests/tools')
-rw-r--r--c/src/tests/tools/generic/difftest9
1 files changed, 5 insertions, 4 deletions
diff --git a/c/src/tests/tools/generic/difftest b/c/src/tests/tools/generic/difftest
index 45f0df81ac..9a35d4285e 100644
--- a/c/src/tests/tools/generic/difftest
+++ b/c/src/tests/tools/generic/difftest
@@ -71,7 +71,7 @@ tests="$args"
if [ ! "$tests" ]
then
cd $logdir
- set -- `echo sp?? mp??_? psx??`
+ set -- `echo sp?? mp??_? psx?? sp??_g mp??_?_g psx??_g`
cd ..
tests="$*"
fi
@@ -92,15 +92,16 @@ do
mp*)
mptest=`echo $t | sed 's/_.//'`
node=`echo $t | sed 's/...._//'`
- scn_file=mptests/node$node/$mptest.scn;;
+ tmp_scn_file=mptests/node$node/$mptest.scn;;
sp*)
- scn_file=sptests/$t.scn;;
+ tmp_scn_file=sptests/$t.scn;;
psx*)
- scn_file=psxtests/$t.scn;;
+ tmp_scn_file=psxtests/$t.scn;;
*)
fatal "unknown test $t";;
esac
+ scn_file=`echo $tmp_scn_file | sed -e s/_g//`
sed -e '/^$/d' < $logdir/$logfile | diff -b screens/$scn_file -
echo
echo