Changeset 2122a0b in rtems for testsuites/mptests


Ignore:
Timestamp:
Sep 19, 1995, 9:44:33 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c896e8d
Parents:
d434b8d6
Message:

Modifications from Tony Bennett accepted to tune this test a little.

Location:
testsuites/mptests/mp14
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/mptests/mp14/evtask1.c

    rd434b8d6 r2122a0b  
    5555    if ( status == RTEMS_SUCCESSFUL )
    5656      break;
    57     puts( "rtems_task_ident" );
     57    puts( "rtems_task_ident FAILED!!" );
     58    rtems_task_wake_after(2);
    5859  }
    5960
  • testsuites/mptests/mp14/msgtask1.c

    rd434b8d6 r2122a0b  
    5050      break;
    5151    puts( "rtems_message_queue_ident FAILED!!" );
     52    rtems_task_wake_after(2);
    5253  }
    5354
  • testsuites/mptests/mp14/pttask1.c

    rd434b8d6 r2122a0b  
    3030  rtems_unsigned32   count;
    3131  rtems_status_code  status;
     32  rtems_unsigned32   yield_count;
    3233  void              *buffer;
    3334
     
    4445
    4546    puts( "rtems_partition_ident FAILED!!" );
     47    rtems_task_wake_after(2);
    4648  }
     49
     50  yield_count = 100;
    4751
    4852  while ( Stop_Test == FALSE ) {
     
    5458      directive_failed( status, "rtems_partition_return_buffer" );
    5559
    56       if ( Multiprocessing_configuration.node == 1 ) {
    57         status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
    58         directive_failed( status, "rtems_task_wake_after" );
    59       }
     60      if (Stop_Test == FALSE)
     61        if ( Multiprocessing_configuration.node == 1 && --yield_count == 0 ) {
     62          status = rtems_task_wake_after( 1 );
     63          directive_failed( status, "rtems_task_wake_after" );
     64          yield_count = 100;
     65        }
    6066    }
    6167    put_dot( 'p' );
  • testsuites/mptests/mp14/smtask1.c

    rd434b8d6 r2122a0b  
    4141      break;
    4242    puts( "rtems_semaphore_ident FAILED!!" );
     43    rtems_task_wake_after(2);
    4344  }
    4445
     46  yield_count = 100;
     47
    4548  while ( Stop_Test == FALSE ) {
    46     yield_count = 100;
    4749
    4850    for ( count=SEMAPHORE_DOT_COUNT ; Stop_Test == FALSE && count ; count-- ) {
     
    5759      directive_failed( status, "rtems_semaphore_release" );
    5860
    59       if ( Multiprocessing_configuration.node == 1 && --yield_count == 0 ) {
    60         status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
    61         directive_failed( status, "rtems_task_wake_after" );
     61      if ( Stop_Test == FALSE )
     62        if ( Multiprocessing_configuration.node == 1 && --yield_count == 0 ) {
     63          status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
     64          directive_failed( status, "rtems_task_wake_after" );
    6265
    63         yield_count = 100;
    64       }
     66          yield_count = 100;
     67        }
    6568    }
    6669    put_dot( 's' );
Note: See TracChangeset for help on using the changeset viewer.