summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp51/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp51/init.c')
-rw-r--r--testsuites/sptests/sp51/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp51/init.c b/testsuites/sptests/sp51/init.c
index 24640a2733..fba2206ec3 100644
--- a/testsuites/sptests/sp51/init.c
+++ b/testsuites/sptests/sp51/init.c
@@ -13,6 +13,8 @@
#include <tmacros.h>
+const char rtems_test_name[] = "SP 51";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
@@ -23,7 +25,7 @@ rtems_task Init(
rtems_status_code sc;
rtems_id mutex;
- puts( "\n\n*** TEST 51 ***" );
+ TEST_BEGIN();
puts( "Create semaphore - priority ceiling locked - violate ceiling" );
sc = rtems_semaphore_create(
@@ -55,7 +57,7 @@ rtems_task Init(
sc = rtems_semaphore_release( mutex );
directive_failed( sc, "rtems_semaphore_release" );
- puts( "*** END OF TEST 51 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -69,6 +71,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <rtems/confdefs.h>