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/spstkalloc/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/spstkalloc') diff --git a/testsuites/sptests/spstkalloc/init.c b/testsuites/sptests/spstkalloc/init.c index 5eef9be21c..4a26fdb9a6 100644 --- a/testsuites/sptests/spstkalloc/init.c +++ b/testsuites/sptests/spstkalloc/init.c @@ -13,6 +13,8 @@ #include +const char rtems_test_name[] = "SPSTKALLOC"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); @@ -46,7 +48,7 @@ rtems_task Init( rtems_id taskId; rtems_id taskId1; - puts( "\n\n*** TEST OF STACK ALLOCATOR PLUGIN ***" ); + TEST_BEGIN(); puts( "Init - create task TA1 to use custom stack allocator - OK" ); rc = rtems_task_create( @@ -74,7 +76,7 @@ rtems_task Init( rc = rtems_task_delete( taskId ); directive_failed( rc, "rtems_task_delete of TA1" ); - puts( "*** END OF OF STACK ALLOCATOR PLUGIN TEST ***" ); + TEST_END(); rtems_test_exit(0); } @@ -86,6 +88,8 @@ rtems_task Init( #define CONFIGURE_TASK_STACK_ALLOCATOR StackAllocator #define CONFIGURE_TASK_STACK_DEALLOCATOR StackDeallocator +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_MAXIMUM_TASKS 3 -- cgit v1.2.3