Changeset c7b38ba in rtems


Ignore:
Timestamp:
Jul 1, 2009, 7:23:58 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
605b6eb7
Parents:
e5d3dd6
Message:

2009-07-01 Joel Sherrill <joel.sherrill@…>

  • sp01/sp01.doc, sp01/task1.c, sp16/sp16.doc, sp16/task5.c: Bypass RTEMS_MILLISECONDS_TO_TICKS and RTEMS_MICROSECONDS_TO_TICKS to improve coverage.
Location:
testsuites/sptests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    re5d3dd6 rc7b38ba  
     12009-07-01      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * sp01/sp01.doc, sp01/task1.c, sp16/sp16.doc, sp16/task5.c: Bypass
     4        RTEMS_MILLISECONDS_TO_TICKS and RTEMS_MICROSECONDS_TO_TICKS to
     5        improve coverage.
     6
    172009-07-01      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • testsuites/sptests/sp01/task1.c

    re5d3dd6 rc7b38ba  
    3333  directive_failed( status, "rtems_task_ident" );
    3434
    35   ticks = RTEMS_MILLISECONDS_TO_TICKS( task_number( tid ) * 5 * 1000 );
     35  /*
     36   * Use TOD_MILLISECONDS_TO_TICKS not RTEMS_MILLISECONDS_TO_TICKS to
     37   * test C implementation in SuperCore -- not macro version used
     38   * everywhere else.
     39   */
     40  ticks = TOD_MILLISECONDS_TO_TICKS( task_number( tid ) * 5 * 1000 );
     41
    3642  while( FOREVER ) {
    3743    status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
  • testsuites/sptests/sp16/task5.c

    re5d3dd6 rc7b38ba  
    99 *  Output parameters:  NONE
    1010 *
    11  *  COPYRIGHT (c) 1989-1999.
     11 *  COPYRIGHT (c) 1989-2009.
    1212 *  On-Line Applications Research Corporation (OAR).
    1313 *
     
    4545  new_line;
    4646
    47   status = rtems_task_wake_after( TICKS_PER_SECOND );
     47  /*
     48   * Use TOD_MICROSECONDS_TO_TICKS not RTEMS_MICROSECONDS_TO_TICKS to
     49   * test C implementation in SuperCore -- not macro version used
     50   * everywhere else.
     51   */
     52  status = rtems_task_wake_after( TOD_MICROSECONDS_TO_TICKS( 1000000 ) );
    4853  directive_failed( status, "rtems_task_wake_after" );
    4954
Note: See TracChangeset for help on using the changeset viewer.