blob: 9dd7be04dd22099bcfbc404a2e55ad549a9cf77b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#! /usr/bin/env bash
#
# This script checks for the "END OF" message in all RTEMS tests.
# It reports tests which do not appear to have completed successfully
#
if [ -d log ] ; then
logdir=log/
else
logdir=
fi
while :
do
for f in `ls -1 ${logdir}* | grep -v info$`
do
case $f in
# we don't expect an "END OF" from these
*ppd*) ;;
*minimum*) ;;
*)
grep "^\*\*\* END OF" $f >/dev/null
if [ $? -ne 0 ] ; then
echo "WARNING - $f did not appear to complete execution"
someFails=yes
fi
;;
esac
done
if [ X${1} = X ] ; then
break
fi
sleep $1
echo
done
exit 0
|