diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-05 14:41:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-05 14:41:37 +0000 |
commit | a319ebef08dc16f0371459a0a709f792d7d498b2 (patch) | |
tree | 7de6c8e49ad5bac0f592e9665faaf8ca00738b9d /testsuites/mptests/mp06 | |
parent | 2008-09-05 Eric Norum <norume@aps.anl.gov> (diff) | |
download | rtems-a319ebef08dc16f0371459a0a709f792d7d498b2.tar.bz2 |
2008-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* mp03/delay.c, mp06/task1.c, mp06/node2/mp06-node2.scn, mp07/task1.c:
Updating and fixing while running them on psim.
Diffstat (limited to 'testsuites/mptests/mp06')
-rw-r--r-- | testsuites/mptests/mp06/node2/mp06-node2.scn | 2 | ||||
-rw-r--r-- | testsuites/mptests/mp06/task1.c | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/mptests/mp06/node2/mp06-node2.scn b/testsuites/mptests/mp06/node2/mp06-node2.scn index 9cb653c2f3..618ce5b8ee 100644 --- a/testsuites/mptests/mp06/node2/mp06-node2.scn +++ b/testsuites/mptests/mp06/node2/mp06-node2.scn @@ -7,6 +7,8 @@ Getting TID of remote task Receiving events from remote task .................................................... .................................................... +Flushing RTEMS_EVENT_16 +Waiting for RTEMS_EVENT_16 rtems_event_receive - correctly returned RTEMS_TIMEOUT *** END OF TEST 6 *** diff --git a/testsuites/mptests/mp06/task1.c b/testsuites/mptests/mp06/task1.c index 83500c0e73..fd3331bed9 100644 --- a/testsuites/mptests/mp06/task1.c +++ b/testsuites/mptests/mp06/task1.c @@ -161,6 +161,11 @@ rtems_task Test_task( putchar( '\n' ); if ( Multiprocessing_configuration.node == 2 ) { + /* Flush events */ + puts( "Flushing RTEMS_EVENT_16" ); + (void) rtems_event_receive(RTEMS_EVENT_16, RTEMS_NO_WAIT, 0, &event_out); + + puts( "Waiting for RTEMS_EVENT_16" ); status = rtems_event_receive( RTEMS_EVENT_16, RTEMS_DEFAULT_OPTIONS, |