Changeset fa8ad9c in rtems


Ignore:
Timestamp:
Jan 5, 2009, 7:45:49 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
786330c0
Parents:
29a8335
Message:

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

  • sp09/screen05.c, sp09/screen07.c, sp09/screen10.c, sp09/screen11.c, sp09/screen12.c, sp09/screen14.c: Use rtems_build_id rather than hard-coded hex numbers for bad object Ids.
Location:
testsuites/sptests
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r29a8335 rfa8ad9c  
     12009-01-05      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * sp09/screen05.c, sp09/screen07.c, sp09/screen10.c, sp09/screen11.c,
     4        sp09/screen12.c, sp09/screen14.c: Use rtems_build_id rather than
     5        hard-coded hex numbers for bad object Ids.
     6
    172009-01-05      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • testsuites/sptests/sp09/screen05.c

    r29a8335 rfa8ad9c  
    145145  puts( "TA1 - rtems_semaphore_delete - RTEMS_INVALID_ID" );
    146146
    147   status = rtems_semaphore_delete( 0x010100 );
     147  status = rtems_semaphore_delete( rtems_build_id( 1, 0, 0, 0 ) );
    148148  fatal_directive_status(
    149149    status,
  • testsuites/sptests/sp09/screen07.c

    r29a8335 rfa8ad9c  
    118118  puts( "TA1 - rtems_message_queue_delete - unknown RTEMS_INVALID_ID" );
    119119
    120   status = rtems_message_queue_delete( 0x10100 );
     120  status = rtems_message_queue_delete( rtems_build_id( 1, 1, 1, 256 ) );
    121121  fatal_directive_status(
    122122    status,
  • testsuites/sptests/sp09/screen10.c

    r29a8335 rfa8ad9c  
    6969  puts( "TA1 - rtems_rate_monotonic_period - RTEMS_INVALID_ID" );
    7070
    71   status = rtems_rate_monotonic_period( 0x10100, 5 );
     71  status = rtems_rate_monotonic_period( rtems_build_id( 1, 1, 1, 256 ), 5 );
    7272  fatal_directive_status(
    7373    status,
     
    136136  puts( "TA1 - rtems_rate_monotonic_cancel - RTEMS_INVALID_ID" );
    137137
    138   status = rtems_rate_monotonic_cancel( 0x10100 );
     138  status = rtems_rate_monotonic_cancel( rtems_build_id( 1, 1, 1, 256 ) );
    139139  fatal_directive_status(
    140140    status,
     
    179179  puts( "TA1 - rtems_rate_monotonic_delete - RTEMS_INVALID_ID" );
    180180
    181   status = rtems_rate_monotonic_delete( 0x10100 );
     181  status = rtems_rate_monotonic_delete( rtems_build_id( 1, 1, 1, 256 ) );
    182182  fatal_directive_status(
    183183    status,
  • testsuites/sptests/sp09/screen11.c

    r29a8335 rfa8ad9c  
    156156  puts( "TA1 - rtems_partition_delete - unknown RTEMS_INVALID_ID" );
    157157
    158   status = rtems_partition_delete( 0x10100 );
     158  status = rtems_partition_delete( rtems_build_id( 1, 1, 1, 256 ) );
    159159  fatal_directive_status(
    160160    status,
  • testsuites/sptests/sp09/screen12.c

    r29a8335 rfa8ad9c  
    163163  puts( "TA1 - rtems_region_delete - unknown RTEMS_INVALID_ID" );
    164164
    165   status = rtems_region_delete( 0x10100 );
     165  status = rtems_region_delete( rtems_build_id( 1, 1, 1, 256 ) );
    166166  fatal_directive_status(
    167167    status,
  • testsuites/sptests/sp09/screen14.c

    r29a8335 rfa8ad9c  
    5454  puts( "TA1 - rtems_timer_delete - local RTEMS_INVALID_ID" );
    5555
    56   status = rtems_timer_delete( 0x010100 );
     56  status = rtems_timer_delete( rtems_build_id( 1, 1, 1, 256 ) );
    5757  fatal_directive_status(
    5858    status,
     
    7070  puts( "TA1 - rtems_timer_ident - RTEMS_INVALID_NAME" );
    7171
    72   status = rtems_timer_cancel( 0x010100 );
     72  status = rtems_timer_cancel( rtems_build_id( 1, 1, 1, 256 ) );
    7373  fatal_directive_status(
    7474    status,
     
    7878  puts( "TA1 - rtems_timer_cancel - RTEMS_INVALID_ID" );
    7979
    80   status = rtems_timer_reset( 0x010100 );
     80  status = rtems_timer_reset( rtems_build_id( 1, 1, 1, 256 ) );
    8181  fatal_directive_status(
    8282    status,
     
    9595
    9696  status = rtems_timer_fire_after(
    97     0x010100,
     97    rtems_build_id( 1, 1, 1, 256 ),
    9898    5 * TICKS_PER_SECOND,
    9999    Delayed_routine,
     
    108108
    109109  build_time( &time, 12, 31, 1994, 9, 0, 0, 0 );
    110   status = rtems_timer_fire_when( 0x010100, &time, Delayed_routine, NULL );
     110  status = rtems_timer_fire_when(
     111    rtems_build_id( 1, 1, 1, 256 ),
     112    &time,
     113    Delayed_routine,
     114    NULL
     115  );
    111116  fatal_directive_status(
    112117    status,
     
    215220
    216221  status = rtems_timer_server_fire_after(
    217     0x010100,
     222    rtems_build_id( 1, 1, 1, 256 ),
    218223    5 * TICKS_PER_SECOND,
    219224    Delayed_routine,
     
    228233
    229234  build_time( &time, 12, 31, 1994, 9, 0, 0, 0 );
    230   status = rtems_timer_server_fire_when( 0x010100, &time, Delayed_routine, NULL );
     235  status = rtems_timer_server_fire_when(
     236    rtems_build_id( 1, 1, 1, 256 ),
     237    &time,
     238    Delayed_routine,
     239    NULL
     240  );
    231241  fatal_directive_status(
    232242    status,
Note: See TracChangeset for help on using the changeset viewer.