Changeset e731068 in rtems


Ignore:
Timestamp:
Sep 25, 2009, 1:26:35 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
ea5f512
Parents:
bce23bd
Message:

2009-09-25 Joel Sherrill <joel.sherrill@…>

  • sp14/asr.c, sp14/sp14.doc, sp14/task1.c, sp14/task2.c: Adjust test to run when IO speed varies.
Location:
testsuites/sptests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    rbce23bd re731068  
     12009-09-25      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * sp14/asr.c, sp14/sp14.doc, sp14/task1.c, sp14/task2.c: Adjust test to
     4        run when IO speed varies.
     5
    162009-09-14      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • testsuites/sptests/sp14/asr.c

    rbce23bd re731068  
    3636    case RTEMS_SIGNAL_1:
    3737      puts( "ASR - rtems_task_wake_after - yield processor" );
     38      FLUSH_OUTPUT();
    3839      status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
    3940      directive_failed( status, "rtems_task_wake_after yield" );
     
    4445  }
    4546  printf( "ASR - EXIT  - signal => %08x\n", the_signal_set );
     47  FLUSH_OUTPUT();
    4648}
  • testsuites/sptests/sp14/task1.c

    rbce23bd re731068  
    6060  directive_failed( status, "rtems_signal_catch" );
    6161
     62  FLUSH_OUTPUT();
     63
    6264rtems_test_pause();
    6365
     
    103105
    104106  puts( "TA1 - rtems_task_mode - enable ASRs" );
     107  FLUSH_OUTPUT();
    105108  status = rtems_task_mode( RTEMS_ASR, RTEMS_ASR_MASK, &previous_mode );
    106109  directive_failed( status, "rtems_task_mode" );
     110
     111  status = rtems_task_wake_after(2 * rtems_clock_get_ticks_per_second());
     112  directive_failed( status, "rtems_task_wake_after" );
    107113
    108114  puts( "TA1 - rtems_signal_catch - asraddr of NULL" );
  • testsuites/sptests/sp14/task2.c

    rbce23bd re731068  
    2727  rtems_status_code status;
    2828
     29  status = rtems_task_wake_after(rtems_clock_get_ticks_per_second());
     30  directive_failed( status, "rtems_task_wake_after" );
     31
    2932  puts( "TA2 - rtems_signal_send - RTEMS_SIGNAL_17 to TA1" );
    3033  status = rtems_signal_send( Task_id[ 1 ], RTEMS_SIGNAL_17 );
     
    4043
    4144  puts( "TA2 - rtems_task_wake_after - yield processor" );
     45  FLUSH_OUTPUT();
    4246  status = rtems_task_wake_after( RTEMS_YIELD_PROCESSOR );
     47  directive_failed( status, "rtems_task_wake_after" );
     48
     49  status = rtems_task_wake_after(2 * rtems_clock_get_ticks_per_second());
    4350  directive_failed( status, "rtems_task_wake_after" );
    4451
Note: See TracChangeset for help on using the changeset viewer.