diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-03 21:57:50 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-12-03 21:57:50 +0000 |
commit | 012bb569b36bea365d3dd65db27360d70d5ae43f (patch) | |
tree | f520a1184c0cd355f0ecee1ac795eadbf5cd7c06 /testsuites/sptests/sp09/screen05.c | |
parent | Moved cpuuse.h to rtems subdirectory. (diff) | |
download | rtems-012bb569b36bea365d3dd65db27360d70d5ae43f.tar.bz2 |
Insure that the same output occurs when multiprocessing is disabled.
Diffstat (limited to 'testsuites/sptests/sp09/screen05.c')
-rw-r--r-- | testsuites/sptests/sp09/screen05.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuites/sptests/sp09/screen05.c b/testsuites/sptests/sp09/screen05.c index c5dfd1a067..646a28ba6d 100644 --- a/testsuites/sptests/sp09/screen05.c +++ b/testsuites/sptests/sp09/screen05.c @@ -116,6 +116,12 @@ void Screen5() ); puts( "TA1 - rtems_semaphore_create - RTEMS_INVALID_NUMBER" ); + /* + * The check for an object being global is only made if + * multiprocessing is enabled. + */ + +#if defined(RTEMS_MULTIPROCESSING) status = rtems_semaphore_create( Semaphore_name[ 3 ], 1, @@ -128,6 +134,7 @@ void Screen5() RTEMS_MP_NOT_CONFIGURED, "rtems_semaphore_create of mp not configured" ); +#endif puts( "TA1 - rtems_semaphore_create - RTEMS_MP_NOT_CONFIGURED" ); status = rtems_semaphore_delete( 100 ); |