output the start and end of autotest testing
[ambit.git] / autotests / runalltests
blobbb482d8f4a1333bef6ccb0f1b66a142a69642a9d
1 #!/bin/sh
2 echo "--checking autotests--"
3 for test in `ls -1` ; do
4 if [ -d $test ] ; then
5 tempfoo=`basename $0`
6 output=`mktemp /tmp/${tempfoo}.XXXXXX` || exit 1
7 ./$test/$test -silent > $output
8 grep FAIL $output >> /dev/null
9 if [ $? == 0 ] ; then
10 echo "autotest failure";
11 cat $output
12 rm $output;
13 exit 1
15 rm $output;
17 done
18 echo "--checking autotests done--"