summaryrefslogtreecommitdiffstats
path: root/c/src/tests
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests')
-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