forked from Imagelibrary/rtems
Added support for debug variants on tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user