From 351858d75327d5bbda7e720157dced706bbe5688 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 14 Apr 2015 14:07:35 -0500 Subject: sp13: Update configuration to account for messages on fourth message queue --- testsuites/sptests/sp13/system.h | 6 +++++- testsuites/sptests/sp13/task1.c | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/testsuites/sptests/sp13/system.h b/testsuites/sptests/sp13/system.h index 7bb680c80c..3b170bf2ac 100644 --- a/testsuites/sptests/sp13/system.h +++ b/testsuites/sptests/sp13/system.h @@ -65,10 +65,14 @@ TEST_EXTERN rtems_name Queue_name[ 4 ]; /* array of queue names */ #define CONFIGURE_RTEMS_INIT_TASKS_TABLE +/* + * First three created in init.c, last created in task1.c. + */ #define CONFIGURE_MESSAGE_BUFFER_MEMORY \ CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 100, MESSAGE_SIZE ) + \ CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 10, MESSAGE_SIZE ) + \ - CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 100, MESSAGE_SIZE ) + CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 100, MESSAGE_SIZE ) + \ + CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE( 100, 20 ) #define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE) diff --git a/testsuites/sptests/sp13/task1.c b/testsuites/sptests/sp13/task1.c index e783e37150..e104e8da07 100644 --- a/testsuites/sptests/sp13/task1.c +++ b/testsuites/sptests/sp13/task1.c @@ -267,6 +267,7 @@ rtems_test_pause(); &Queue_id[ 1 ] ); directive_failed( status, "rtems_message_queue_create of Q1; 20 bytes each" ); + status = rtems_message_queue_send( Queue_id[ 1 ], big_send_buffer, 40 ); fatal_directive_status(status, RTEMS_INVALID_SIZE, -- cgit v1.2.3