source: rtems-testing/sim-scripts/check_endof @ 6dc7bcc

4.11
Last change on this file since 6dc7bcc was ef065c7, checked in by Joel Sherrill <joel.sherrill@…>, on May 15, 2012 at 9:07:33 PM

rtems-testing - Remove CVS Ids (manual edits)

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