summaryrefslogtreecommitdiff
path: root/sim-scripts/avrtest.in
blob: 76f165eec7b8db080681f990598e5155671480af (plain)
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
#
#  AVR/AVRTEST Support (uses simulavrxx)
#
#  $Id$ 
#

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 ;;
    *psxtime*) limit=180 ;;
    *)         limit=60 ;;
  esac
  echo ${limit}
}