Changeset 6a5990e in rtems


Ignore:
Timestamp:
Oct 18, 2007, 7:49:46 PM (12 years ago)
Author:
Glenn Humphrey <glenn.humphrey@…>
Branches:
4.10, 4.11, 4.9, master
Children:
4fcb3fc3
Parents:
3d2bf71
Message:

2007-10-18 Glenn Humphrey <glenn.humphrey@…>

  • sp09/screen06.c, sp09/screen14.c, sp13/sp13.scn, sp13/task1.c, sp16/sp16.scn: Corrected some minor mistakes and regenerated some .scn files.
Location:
testsuites/sptests
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    r3d2bf71 r6a5990e  
     12007-10-18      Glenn Humphrey <glenn.humphrey@OARcorp.com>
     2
     3        * sp09/screen06.c, sp09/screen14.c, sp13/sp13.scn, sp13/task1.c,
     4        sp16/sp16.scn: Corrected some minor mistakes and regenerated some
     5        .scn files.
     6
    172007-10-10      Glenn Humphrey <glenn.humphrey@OARcorp.com>
    28
  • testsuites/sptests/sp09/screen06.c

    r3d2bf71 r6a5990e  
    122122    "rtems_task_delete after the task has been deleted"
    123123  );
     124
     125  puts( "TA1 - rtems_task_delete TA2 - already deleted RTEMS_INVALID_ID" );
    124126}
  • testsuites/sptests/sp09/screen14.c

    r3d2bf71 r6a5990e  
    136136
    137137  status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    138   directive_failed( status, "rtems_clock_set" );
     138  directive_failed( status, "rtems_clock_get" );
    139139  print_time( "TA1 - rtems_clock_get       - ", &time, "\n" );
    140140
     
    228228
    229229  status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
    230   directive_failed( status, "rtems_clock_set" );
     230  directive_failed( status, "rtems_clock_get" );
    231231  print_time( "TA1 - rtems_clock_get       - ", &time, "\n" );
    232232
  • testsuites/sptests/sp13/sp13.scn

    r3d2bf71 r6a5990e  
    11*** TEST 13 ***
    2 TA1 - rtems_message_queue_ident - qid => 1c010001
     2TA1 - rtems_message_queue_ident - qid => 22010001
    33TA1 - rtems_message_queue_send - BUFFER 1 TO Q 1
    44TA1 - rtems_message_queue_send - BUFFER 2 TO Q 1
     
    5353TA1 - rtems_message_queue_urgent - BUFFER 3 TO Q 2
    5454TA1 - rtems_message_queue_delete - delete queue 2
    55 TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL
     55TA1 - rtems_message_queue_get_number_pending - check Q 3
    5656TA1 - 0 messages are pending on Q 3
    5757TA1 - rtems_message_queue_flush - empty Q 3
     
    5959TA1 - rtems_message_queue_send - BUFFER 1 TO Q 3
    6060TA1 - rtems_message_queue_send - BUFFER 2 TO Q 3
    61 TA3 - rtems_message_queue_broadcast - NO BUFFER TO Q1
    62 TA3 - number of tasks awakened = 0
    63 TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL
     61TA1 - rtems_message_queue_broadcast - NO BUFFER TO Q1
     62TA1 - number of tasks awakened = 0
     63TA1 - rtems_message_queue_get_number_pending - check Q 3
    6464TA1 - 2 messages are pending on Q 3
    6565TA1 - rtems_message_queue_send - BUFFER 3 TO Q 3
     
    7070TA1 - rtems_message_queue_flush - Q 3
    7171TA1 - 100 messages were flushed from Q 3
    72 <pause> 
     72<pause>
    7373TA1 - create message queue of 20 bytes on queue 1
    7474TA1 - rtems_message_queue_delete - delete queue 1
    75 <pause> 
     75<pause>
    7676TA1 - rtems_message_queue_create - variable sizes
    7777TA1 - rtems_message_queue_create and send - variable sizes
  • testsuites/sptests/sp13/task1.c

    r3d2bf71 r6a5990e  
    196196  directive_failed( status, "rtems_message_queue_delete" );
    197197
    198   puts( "TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL\n" );
     198  puts( "TA1 - rtems_message_queue_get_number_pending - check Q 3" );
    199199  status = rtems_message_queue_get_number_pending( Queue_id[ 3 ], &count );
     200  directive_failed( status, "rtems_message_queue_get_number_pending" );
    200201  printf( "TA1 - %d messages are pending on Q 3\n", count );
    201202
    202203  puts( "TA1 - rtems_message_queue_flush - empty Q 3" );
    203204  status = rtems_message_queue_flush( Queue_id[ 3 ], &count );
     205  directive_failed( status, "rtems_message_queue_flush" );
    204206  printf( "TA1 - %d messages were flushed from Q 3\n", count );
    205207
     
    216218  /* this broadcast should have no effect on the queue */
    217219  Fill_buffer( "NO BUFFER TO Q1", (long *)buffer );
    218   puts( "TA3 - rtems_message_queue_broadcast - NO BUFFER TO Q1" );
     220  puts( "TA1 - rtems_message_queue_broadcast - NO BUFFER TO Q1" );
    219221  status = rtems_message_queue_broadcast(
    220222    Queue_id[ 1 ],
     
    223225    &count
    224226  );
    225   printf( "TA3 - number of tasks awakened = %d\n", count );
    226 
    227 
    228   puts( "TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL\n" );
     227  printf( "TA1 - number of tasks awakened = %d\n", count );
     228
     229  puts( "TA1 - rtems_message_queue_get_number_pending - check Q 3" );
    229230  status = rtems_message_queue_get_number_pending( Queue_id[ 3 ], &count );
     231  directive_failed( status, "rtems_message_queue_get_number_pending" );
    230232  printf( "TA1 - %d messages are pending on Q 3\n", count );
    231233
     
    262264  );
    263265  directive_failed( status, "rtems_message_queue_create of Q1; 20 bytes each" );
    264   status = rtems_message_queue_send( Queue_id[ 3 ], big_send_buffer, 40 );
     266  status = rtems_message_queue_send( Queue_id[ 1 ], big_send_buffer, 40 );
    265267  fatal_directive_status(status, RTEMS_INVALID_SIZE, "expected RTEMS_INVALID_SIZE");
    266268
  • testsuites/sptests/sp16/sp16.scn

    r3d2bf71 r6a5990e  
    11*** TEST 16 ***
    2 TA1 - rtems_region_ident - rnid => 32010002
     2TA1 - rtems_region_ident - rnid => 32010001
    33TA1 - rtems_region_get_segment - wait on 100 byte segment from region 2
    4 TA1 - got segment from region 2 - 0x00000f78
     4TA1 - got segment from region 2 - 0x00000060
    55TA1 - rtems_region_get_segment - wait on 3K segment from region 3
    6 TA1 - got segment from region 3 - 0x000003f8
     6TA1 - got segment from region 3 - 0x00000030
    77TA1 - rtems_region_get_segment - get 3080 byte segment from region 1 - NO_WAIT
    8 TA1 - got segment from region 1 - 0x00000378
     8TA1 - got segment from region 1 - 0x00000010
    99TA1 - rtems_task_wake_after - yield processor
    1010TA2 - rtems_region_get_segment - wait on 2K segment from region 1
    11 TA3 - rtems_region_get_segment - wait on 3968 byte segment from region 2
     11TA3 - rtems_region_get_segment - wait on 3950 byte segment from region 2
    1212<pause>
    13 TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000378
     13TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000010
    1414TA1 - rtems_region_get_segment - wait 10 seconds for 3K segment from region 1
    15 TA2 - got segment from region 1 - 0x000007f8
    16 TA2 - rtems_region_return_segment - return segment to region 1 - 0x000007f8
     15TA2 - got segment from region 1 - 0x00000010
     16TA2 - rtems_region_return_segment - return segment to region 1 - 0x00000010
    1717TA2 - rtems_task_set_priority - make self highest priority task
    18 TA2 - rtems_region_get_segment - wait on 3968 byte segment
    19 TA1 - got segment from region 1 - 0x000003f8
    20 TA1 - rtems_region_return_segment - return segment to region 2 - 0x00000f78
    21 TA2 - got segment from region 2 - 0x00000008
    22 TA2 - rtems_region_return_segment - return segment to region 2 - 0x00000008
     18TA2 - rtems_region_get_segment - wait on 3950 byte segment
     19TA1 - got segment from region 1 - 0x00000010
     20TA1 - rtems_region_return_segment - return segment to region 2 - 0x00000060
     21TA2 - got segment from region 2 - 0x00000060
     22TA2 - rtems_region_return_segment - return segment to region 2 - 0x00000060
    2323TA2 - rtems_task_delete - delete self
    2424TA1 - rtems_task_wake_after - yield processor
    25 TA3 - got segment from region 2 - 0x00000008
     25TA3 - got segment from region 2 - 0x00000060
    2626TA3 - rtems_region_get_segment - wait on 2K segment from region 3
    2727TA1 - rtems_task_delete - delete TA3
     
    3030TA4 - rtems_region_get_segment - wait on 1.5K segment from region 1
    3131TA5 - rtems_region_get_segment - wait on 1.5K segment from region 1
    32 TA1 - rtems_region_return_segment - return segment to region 1 - 0x000003f8
     32TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000010
    3333TA1 - rtems_task_wake_after - yield processor
    34 TA4 - got and returned 0x000009f8
    35 TA5 - got and returned 0x000003f0
     34TA4 - got and returned 0x00000010
     35TA5 - got and returned 0x00000690
    3636TA1 - rtems_region_get_segment - wait 10 seconds for 3K segment from region 1
    37 TA1 - got segment from region 1 - 0x000003f8
     37TA1 - got segment from region 1 - 0x00000010
    3838TA1 - rtems_task_wake_after - yield processor
     39TA5 - rtems_region_get_segment - wait on 3K segment from region 1
    3940TA4 - rtems_region_get_segment - wait on 3K segment from region 1
    40 TA5 - rtems_region_get_segment - wait on 3K segment from region 1
    4141TA1 - rtems_task_delete - delete TA4
    42 TA1 - rtems_region_return_segment - return segment to region 1 - 0x000003f8
     42TA1 - rtems_region_return_segment - return segment to region 1 - 0x00000010
    4343TA1 - rtems_task_wake_after - yield processor
    44 TA5 - got segment from region 1 - 0x000003f8
    45 TA5 - rtems_region_return_segment - return segment to region 1 - 0x000003f8
     44TA5 - got segment from region 1 - 0x00000010
     45TA5 - rtems_region_return_segment - return segment to region 1 - 0x00000010
    4646TA5 - rtems_task_delete - delete self
    4747TA1 - rtems_region_delete - delete region 1
    4848TA1 - rtems_region_get_segment - get 3K segment from region 4
    49 TA1 - got segment from region 4 - 0x000003f8
     49TA1 - got segment from region 4 - 0x00000060
    5050TA1 - rtems_region_get_segment - attempt to get 3K segment from region 4
    5151TA1 - rtems_task_get_note - RTEMS_UNSATISFIED
    5252TA1 - rtems_region_extend - extend region 4 by 4K
    5353TA1 - rtems_region_get_segment - attempt to get 3K segment from region 4
    54 TA1 - got 3K segment from region 4 - 0x00001400
    55 TA1 - rtems_region_return_segment - return segment to region 4 - 0x000003f8
    56 TA1 - rtems_region_return_segment - return segment to region 4 - 0x00001400
     54TA1 - got 3K segment from region 4 - 0x00000ce0
     55TA1 - rtems_region_return_segment - return segment to region 4 - 0x00000060
     56TA1 - rtems_region_return_segment - return segment to region 4 - 0x00000ce0
    5757TA1 - rtems_region_delete - delete region 4
    5858*** END OF TEST 16 ***
Note: See TracChangeset for help on using the changeset viewer.