mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Added support for debug variants on tests.
This commit is contained in:
@@ -71,7 +71,7 @@ tests="$args"
|
|||||||
if [ ! "$tests" ]
|
if [ ! "$tests" ]
|
||||||
then
|
then
|
||||||
cd $logdir
|
cd $logdir
|
||||||
set -- `echo sp?? mp??_? psx??`
|
set -- `echo sp?? mp??_? psx?? sp??_g mp??_?_g psx??_g`
|
||||||
cd ..
|
cd ..
|
||||||
tests="$*"
|
tests="$*"
|
||||||
fi
|
fi
|
||||||
@@ -92,15 +92,16 @@ do
|
|||||||
mp*)
|
mp*)
|
||||||
mptest=`echo $t | sed 's/_.//'`
|
mptest=`echo $t | sed 's/_.//'`
|
||||||
node=`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*)
|
sp*)
|
||||||
scn_file=sptests/$t.scn;;
|
tmp_scn_file=sptests/$t.scn;;
|
||||||
psx*)
|
psx*)
|
||||||
scn_file=psxtests/$t.scn;;
|
tmp_scn_file=psxtests/$t.scn;;
|
||||||
*)
|
*)
|
||||||
fatal "unknown test $t";;
|
fatal "unknown test $t";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
scn_file=`echo $tmp_scn_file | sed -e s/_g//`
|
||||||
sed -e '/^$/d' < $logdir/$logfile | diff -b screens/$scn_file -
|
sed -e '/^$/d' < $logdir/$logfile | diff -b screens/$scn_file -
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user