summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp09/screen07.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-12-03 21:57:50 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-12-03 21:57:50 +0000
commit012bb569b36bea365d3dd65db27360d70d5ae43f (patch)
treef520a1184c0cd355f0ecee1ac795eadbf5cd7c06 /testsuites/sptests/sp09/screen07.c
parentMoved cpuuse.h to rtems subdirectory. (diff)
downloadrtems-012bb569b36bea365d3dd65db27360d70d5ae43f.tar.bz2
Insure that the same output occurs when multiprocessing is disabled.
Diffstat (limited to 'testsuites/sptests/sp09/screen07.c')
-rw-r--r--testsuites/sptests/sp09/screen07.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/testsuites/sptests/sp09/screen07.c b/testsuites/sptests/sp09/screen07.c
index 14ba4ff2d2..5d55c94b9d 100644
--- a/testsuites/sptests/sp09/screen07.c
+++ b/testsuites/sptests/sp09/screen07.c
@@ -46,8 +46,14 @@ void Screen7()
RTEMS_INVALID_NAME,
"rtems_message_queue_create with illegal name"
);
-
puts( "TA1 - rtems_message_queue_create - Q 1 - RTEMS_INVALID_NAME" );
+
+ /*
+ * The check for an object being global is only made if
+ * multiprocessing is enabled.
+ */
+
+#if defined(RTEMS_MULTIPROCESSING)
status = rtems_message_queue_create(
Queue_name[ 1 ],
1,
@@ -60,6 +66,7 @@ void Screen7()
RTEMS_MP_NOT_CONFIGURED,
"rtems_message_queue_create of mp not configured"
);
+#endif
puts( "TA1 - rtems_message_queue_create - Q 1 - RTEMS_MP_NOT_CONFIGURED" );
status = rtems_message_queue_create(