summaryrefslogtreecommitdiffstats
path: root/c/src/tests/sptests/sp09/screen11.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/tests/sptests/sp09/screen11.c')
-rw-r--r--c/src/tests/sptests/sp09/screen11.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/tests/sptests/sp09/screen11.c b/c/src/tests/sptests/sp09/screen11.c
index 7857a98c95..8148aabb4d 100644
--- a/c/src/tests/sptests/sp09/screen11.c
+++ b/c/src/tests/sptests/sp09/screen11.c
@@ -88,6 +88,12 @@ void Screen11()
"TA1 - rtems_partition_create - length < buffer size - RTEMS_INVALID_SIZE"
);
+ /*
+ * The check for an object being global is only made if
+ * multiprocessing is enabled.
+ */
+
+#if defined(RTEMS_MULTIPROCESSING)
status = rtems_partition_create(
Partition_name[ 1 ],
Partition_good_area,
@@ -101,6 +107,7 @@ void Screen11()
RTEMS_MP_NOT_CONFIGURED,
"rtems_partition_create of global"
);
+#endif
puts( "TA1 - rtems_partition_create - RTEMS_MP_NOT_CONFIGURED" );
status = rtems_partition_create(