[PATCH 04] MP06 TEST: avoid program failure when slow UART on CPU core 0

Daniel Hellstrom daniel at gaisler.com
Thu Feb 2 14:46:25 UTC 2012


Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>
---
 testsuites/mptests/mp06/task1.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/testsuites/mptests/mp06/task1.c b/testsuites/mptests/mp06/task1.c
index 4250bb6..69ec788 100644
--- a/testsuites/mptests/mp06/task1.c
+++ b/testsuites/mptests/mp06/task1.c
@@ -166,6 +166,7 @@ rtems_task Test_task(
 
   if ( Multiprocessing_configuration.node == 2 ) {
     /* Flush events */
+    rtems_task_wake_after( 100 );
     puts( "Flushing RTEMS_EVENT_16" );
     (void) rtems_event_receive(RTEMS_EVENT_16, RTEMS_NO_WAIT, 0, &event_out);
 
-- 
1.7.0.4




More information about the devel mailing list