summaryrefslogtreecommitdiffstats
path: root/sim-scripts/avrtest.in
blob: 3462574e3d9dab553f5424714890ce75b82925d3 (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
#
#  AVR/AVRTEST Support (uses simulavrxx)
#

bspUsesGDBSimulator="no"
runBSP=simulavr

runARGS()
{
  echo "-d atmega128 -W0x52,/dev/stderr -Texit -f ${1}"
}

checkBSPFaults()
{
  return 0
}

bspLimit()
{
  testname=$1
  case ${testname} in
    *stackchk*)limit=5 ;;
    *fatal*)   limit=1 ;;
    *minimum*) limit=1 ;;
    *psxtime*) limit=180 ;;
    *)         limit=60 ;;
  esac
  echo ${limit}
}