Changeset fabacfe in rtems


Ignore:
Timestamp:
Mar 20, 2002, 2:56:45 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
eaeb467
Parents:
ab09d083
Message:

2002-03-20 Chris Johns <ccj@…>

  • PR145.
  • sp04/task1.c, sp04/tswitch.c: Test fails if other tasks present in system (e.g. driver tasks). Also exit on minimum number of switches not precise number.
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/sptests/ChangeLog

    rab09d083 rfabacfe  
     12002-03-20      Chris Johns <ccj@acm.org>
     2
     3        * PR145.
     4        * sp04/task1.c, sp04/tswitch.c: Test fails if other tasks present
     5        in system (e.g. driver tasks).  Also exit on minimum number of
     6        switches not precise number.
     7
    182001-01-29      Joel Sherrill <joel@OARcorp.com>
    29
  • c/src/tests/sptests/sp04/task1.c

    rab09d083 rfabacfe  
    7575
    7676  while ( FOREVER ) {
    77     if ( Run_count[ 1 ] == 3 ) {
     77    if ( Run_count[ 1 ] >= 3 ) {
    7878      puts( "TA1 - rtems_task_mode - change mode to NO RTEMS_PREEMPT" );
    7979
  • c/src/tests/sptests/sp04/tswitch.c

    rab09d083 rfabacfe  
    3636  rtems_status_code status;
    3737
    38   index = task_number( heir->Object.id );
     38  index = task_number( heir->Object.id ) - task_number( Task_id[1] ) + 1;
    3939
    4040  switch( index ) {
  • testsuites/sptests/ChangeLog

    rab09d083 rfabacfe  
     12002-03-20      Chris Johns <ccj@acm.org>
     2
     3        * PR145.
     4        * sp04/task1.c, sp04/tswitch.c: Test fails if other tasks present
     5        in system (e.g. driver tasks).  Also exit on minimum number of
     6        switches not precise number.
     7
    182001-01-29      Joel Sherrill <joel@OARcorp.com>
    29
  • testsuites/sptests/sp04/task1.c

    rab09d083 rfabacfe  
    7575
    7676  while ( FOREVER ) {
    77     if ( Run_count[ 1 ] == 3 ) {
     77    if ( Run_count[ 1 ] >= 3 ) {
    7878      puts( "TA1 - rtems_task_mode - change mode to NO RTEMS_PREEMPT" );
    7979
  • testsuites/sptests/sp04/tswitch.c

    rab09d083 rfabacfe  
    3636  rtems_status_code status;
    3737
    38   index = task_number( heir->Object.id );
     38  index = task_number( heir->Object.id ) - task_number( Task_id[1] ) + 1;
    3939
    4040  switch( index ) {
Note: See TracChangeset for help on using the changeset viewer.