summaryrefslogtreecommitdiff
path: root/sim-scripts/avrtest.in
blob: 1252f74fc67d1f978865749086d7c0a4f2f57b10 (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
31
#
#  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 ;;
    *minimum*) limit=1 ;;
    *psxtime*) limit=180 ;;
    *)         limit=60 ;;
  esac
  echo ${limit}
}