source: rtems-testing/sim-scripts/skyeye-support @ ef065c7

4.11
Last change on this file since ef065c7 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 100644
File size: 1.0 KB
Line 
1#
2#  Shared Skyeye Support
3#
4
5bspUsesGDBSimulator="no"
6bspSupportsGDBServerMode="yes"
7bspNeedsDos2Unix="yes"
8bspGeneratesGDBCommands="yes"
9bspNeedsSttySane="no"
10# sometimes the .cov file has a zero length
11bspRunsFailRandomly="yes"
12
13runBSP=skyeye
14
15runARGS()
16{
17  echo "-c ${bspTreeFile} -e ${1}"
18}
19
20gdbServerARGS()
21{
22  echo "-c ${bspTreeFile} -d"
23}
24
25bspCheckRunWasOK()
26{
27  # sometimes the .cov file has a zero length
28  if [ ${coverage} = "yes" -a ! -s ${toRun}.cov ] ; then
29    echo 1
30  else
31    echo 0
32  fi
33}
34
35bspGenerateGDBCommands()
36{
37cat <<EOF
38tar remote :12345
39load
40EOF
41}
42
43bspLimit()
44{
45  tname=$1
46  case ${tname} in
47    *stackchk*)limit=5 ;;
48    *fatal*)   limit=1 ;;
49    *minimum*) limit=1 ;;
50    *psxtime*) limit=180 ;;
51    *)         limit=60 ;;
52  esac
53  echo ${limit}
54}
55
56bspExited_ARM()
57{
58  for pattern in  \
59     "^Unhandled exception" \
60     "^SKYEYE:Error" \
61     "^Bus write error," \
62     "^Bus read error,"
63  do
64    grep "${pattern}" ${logfile}
65    if [ $? -eq 0 ] ; then
66      return 1
67    fi
68  done
69  return 0
70}
Note: See TracBrowser for help on using the repository browser.