From 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:21 +0100 Subject: tests/sptests: Use --- testsuites/sptests/sp72/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/sp72') 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 #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 -- cgit v1.2.3