summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-04-14 14:07:35 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-04-14 14:07:35 -0500
commit351858d75327d5bbda7e720157dced706bbe5688 (patch)
tree84b5ba9aa96cc4f7212bf73c394b1b6085e50375
parentsemdestroy.c: Add missing _Objects_Allocator_unlock() (diff)
downloadrtems-351858d75327d5bbda7e720157dced706bbe5688.tar.bz2
sp13: Update configuration to account for messages on fourth message queue
-rw-r--r--testsuites/sptests/sp13/system.h6
-rw-r--r--testsuites/sptests/sp13/task1.c1
2 files changed, 6 insertions, 1 deletions
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,