summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp09/screen07.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-14 13:03:38 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-10-14 13:03:38 +0000
commit29ff6c9ccbe8c93d032ba3bc015998a82888de67 (patch)
treed4a10f8205dddacafb6a20c3627e7cfda855bb7d /testsuites/sptests/sp09/screen07.c
parent2008-10-13 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-29ff6c9ccbe8c93d032ba3bc015998a82888de67.tar.bz2
2008-10-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen07.c: Use INT_MAX as number of messages so always properly sized and no overflow on constant. * sp09/screen10.c: Delay so on targets with simulator idle clock tick driver this will work. * sp09/screen11.c, sp09/system.h: Move badly aligned objects to odd byte boundaries rather than two byte boundaries. * sp09/screen03.c, sp09/screen14.c: Skip tests which try to allocate more memory than size_t holds on m32c.
Diffstat (limited to 'testsuites/sptests/sp09/screen07.c')
-rw-r--r--testsuites/sptests/sp09/screen07.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/sp09/screen07.c b/testsuites/sptests/sp09/screen07.c
index 1e2c2ec31c..4d3c26ff27 100644
--- a/testsuites/sptests/sp09/screen07.c
+++ b/testsuites/sptests/sp09/screen07.c
@@ -73,7 +73,7 @@ void Screen7()
/* not enough memory for messages */
status = rtems_message_queue_create(
Queue_name[ 1 ],
- 1000000, /* 1 million messages should do it */
+ INT_MAX,
MESSAGE_SIZE,
RTEMS_DEFAULT_ATTRIBUTES,
&Queue_id[ 1 ]