summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp72/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp72/init.c')
-rw-r--r--testsuites/sptests/sp72/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp72/init.c b/testsuites/sptests/sp72/init.c
index 0f1816d977..5e2c8ab91d 100644
--- a/testsuites/sptests/sp72/init.c
+++ b/testsuites/sptests/sp72/init.c
@@ -14,6 +14,8 @@
#include <tmacros.h>
#include "test_support.h"
+const char rtems_test_name[] = "SP 72";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
rtems_task Test_task(rtems_task_argument argument);
@@ -43,7 +45,7 @@ rtems_task Init(
rtems_status_code status;
rtems_id task_id;
- puts( "\n\n*** TEST SP72 ***" );
+ TEST_BEGIN();
status = rtems_semaphore_create(
rtems_build_name( 'S', 'M', '1', ' ' ),
@@ -75,7 +77,7 @@ rtems_task Init(
status = rtems_task_delete( task_id );
directive_failed( status, "rtems_task_delete" );
- puts( "*** END OF TEST SP72 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -87,6 +89,8 @@ rtems_task Init(
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_MAXIMUM_SEMAPHORES 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT