Changeset 61039c7 in rtems-testing


Ignore:
Timestamp:
Jul 20, 2011, 8:49:47 PM (8 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
24acc03
Parents:
d00adb6
Message:

2011-07-20 Joel Sherrill <joel.sherrill@…>

  • gdb-sim-run.in: Add option to skip critical section tests.
  • pc386.in: Default to core2duo CPU.
  • rtems-gdb-macros-4.11: Update to 4.11.
Location:
sim-scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sim-scripts/ChangeLog

    rd00adb6 r61039c7  
     12011-07-20      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * gdb-sim-run.in: Add option to skip critical section tests.
     4        * pc386.in: Default to core2duo CPU.
     5        * rtems-gdb-macros-4.11: Update to 4.11.
     6
    172011-03-14      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • sim-scripts/gdb-sim-run.in

    rd00adb6 r61039c7  
    3333        -i         -- interactive (default=no time limit)
    3434        -s         -- force System V IPC support (default=no)
     35        -S         -- skip Interrupt Critical Section Tests (default=no)
    3536        -l limit   -- specify time limit (default is 'BSP dependent')
    3637        -L dir     -- specify log directory (default is 'log')
     
    8990enable_network="no"
    9091rtems_test="no"
    91 
    92 while getopts "vcCgGil:L:DsNT" OPT
     92skipIntrCriticalTest="no"
     93
     94while getopts "vcCgGil:L:DsSNT" OPT
    9395do
    9496 case "$OPT" in
     
    104106   L) logdir="$OPTARG";;
    105107   s) use_sysv_ipc="yes";;
     108   S) skipIntrCriticalTest="yes";;
    106109   t) doTrace="yes";;
    107110   T) rtems_test="yes";;
     
    410413  ## If the test is known to be interactive or locks up and we are
    411414  ## in batch mode, skip it.
    412   case ${toRun} in
     415  case ${baseToRun} in
    413416    monitor*|termios.*|fileio*|capture*)
    414         warn "skipping interactive ${toRun}"
     417        warn "skipping interactive ${baseToRun}"
     418        continue
     419        ;;
     420    spintrcritical*|psxintrcritical*)
     421        if [ ${skipIntrCriticalTest} = "yes" ] ; then
     422          warn "skipping Interrupt Critical Section test ${baseToRun}"
     423          continue
     424        fi
     425        ;;
     426    appstart*)
     427        warn "skipping intermediate file ${baseToRun}"
    415428        continue
    416429        ;;
    417430    *-node2*)
    418431        fatal "MP tests not supported"
    419         warn "Skipping ${toRun}; 'runtest' runs both nodes when for *-node1"
     432        warn "Skipping ${baseToRun}; 'runtest' runs both nodes when for *-node1"
    420433        continue;;
    421434    *-node1*)
    422       warn "Running both nodes associated with ${toRun}"
     435      warn "Running both nodes associated with ${baseToRun}"
    423436      ;;
    424437    pppd*)
    425       warn "skipping long running ${toRun}"
     438      warn "skipping long running ${baseToRun}"
    426439      continue
    427440      ;;
  • sim-scripts/pc386.in

    rd00adb6 r61039c7  
    6060  # can also redirect to file with file:log/"`basename ${1} .exe`
    6161  SERIAL_ARG="stdio"
    62   echo "-m 512 -boot a -cpu 486 -fda ${fd0Image} -hda fat:${hd0Dir} ${COVERAGE_ARG} \
    63          -monitor null -nographic -serial ${SERIAL_ARG} --no-reboot"
     62  echo "-m 512 -boot a -cpu core2duo \
     63       -fda ${fd0Image} -hda fat:${hd0Dir} ${COVERAGE_ARG} \
     64       -monitor null -nographic -serial ${SERIAL_ARG} --no-reboot"
    6465}
    6566
  • sim-scripts/rtems-gdb-macros-4.11

    rd00adb6 r61039c7  
    5656#
    5757
    58 echo Loading GDB Macro Package for RTEMS 4.10...\n
     58echo Loading GDB Macro Package for RTEMS 4.11...\n
    5959
    6060#############################################################################
     
    318318  while $pri_index < $limit
    319319    set $chain = &$queues.Priority[$pri_index]
    320     set $ptail = &$chain->permanent_null
    321     set $next = $chain->first
     320    set $ptail = &$chain->Head.fill
     321    set $next = $chain->Head.Node.next
    322322    while $next != $ptail
    323323      set $t = (struct Thread_Control_struct *)$next
     
    393393#
    394394define rtems_helper_score_watchdog_chain
    395   set $permt = &$arg0.permanent_null
    396   set $node = $arg0.first
     395  set $permt = &$arg0.Tail.Node
     396  set $node = $arg0.Head.Node.next
    397397
    398398  if $node == $permt
     
    909909# ARGUMENTS: NONE
    910910#
    911 # TODO: For 4.6, check object information table for non-NULL
     911# TODO: NONE
    912912define rtems_tasks
    913   printf "Executing: 0x%x, Heir: 0x%x\n", _Thread_Executing->Object.id, \
    914     _Thread_Heir.Object.id
     913  printf "Executing: 0x%x, Heir: 0x%x\n", \
     914    _Per_CPU[0].executing->Object.id, \
     915    _Per_CPU[0].heir.Object.id
    915916  printf "================================================================\n"
    916917  printf "Internal Tasks\n"
Note: See TracChangeset for help on using the changeset viewer.