Changeset a319ebef in rtems
- Timestamp:
- Sep 5, 2008, 2:41:37 PM (11 years ago)
- Branches:
- 4.10, 4.11, 4.9, master
- Children:
- 7eb312d5
- Parents:
- cf594ad7
- Location:
- testsuites/mptests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/mptests/ChangeLog
rcf594ad7 ra319ebef 1 2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com> 2 3 * mp03/delay.c, mp06/task1.c, mp06/node2/mp06-node2.scn, mp07/task1.c: 4 Updating and fixing while running them on psim. 5 1 6 2008-09-03 Joel Sherrill <joel.sherrill@OARcorp.com> 2 7 -
testsuites/mptests/mp03/delay.c
rcf594ad7 ra319ebef 27 27 28 28 status = rtems_event_send( Task_id[ 1 ], RTEMS_EVENT_16 ); 29 directive_failed_with_level( status, "rtems_event_send", 1 ); 29 if ( status ) printk( "Delayed_send_event failed %d\n", status ); 30 // directive_failed_with_level( status, "rtems_event_send", 1 ); 30 31 } -
testsuites/mptests/mp06/node2/mp06-node2.scn
rcf594ad7 ra319ebef 8 8 .................................................... 9 9 .................................................... 10 Flushing RTEMS_EVENT_16 11 Waiting for RTEMS_EVENT_16 10 12 rtems_event_receive - correctly returned RTEMS_TIMEOUT 11 13 *** END OF TEST 6 *** -
testsuites/mptests/mp06/task1.c
rcf594ad7 ra319ebef 162 162 163 163 if ( Multiprocessing_configuration.node == 2 ) { 164 /* Flush events */ 165 puts( "Flushing RTEMS_EVENT_16" ); 166 (void) rtems_event_receive(RTEMS_EVENT_16, RTEMS_NO_WAIT, 0, &event_out); 167 168 puts( "Waiting for RTEMS_EVENT_16" ); 164 169 status = rtems_event_receive( 165 170 RTEMS_EVENT_16, -
testsuites/mptests/mp07/task1.c
rcf594ad7 ra319ebef 71 71 directive_failed( status, "rtems_timer_fire_after" ); 72 72 73 while ( Stop_Test == false ) {73 while ( true ) { 74 74 for ( count=DOT_COUNT ; count && (Stop_Test == false) ; count-- ) { 75 75 status = rtems_event_receive( 76 76 RTEMS_EVENT_16, 77 77 RTEMS_DEFAULT_OPTIONS, 78 RTEMS_NO_TIMEOUT,78 TICKS_PER_SECOND, 79 79 &event_out 80 80 ); 81 81 if ( status == RTEMS_TIMEOUT ) { 82 puts( "\nTA1 - RTEMS_TIMEOUT .. probably OK if the other node exits" ); 82 printf("\nTA1 - RTEMS_TIMEOUT .. probably OK if the other node exits"); 83 Stop_Test = true; 83 84 break; 84 85 } else … … 88 89 directive_failed( status, "rtems_event_send" ); 89 90 } 91 if ( Stop_Test ) 92 break; 90 93 put_dot('.'); 91 94 }
Note: See TracChangeset
for help on using the changeset viewer.