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/spsimplesched02/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/spsimplesched02') diff --git a/testsuites/sptests/spsimplesched02/init.c b/testsuites/sptests/spsimplesched02/init.c index 7665ec9f7a..2bf7b50661 100644 --- a/testsuites/sptests/spsimplesched02/init.c +++ b/testsuites/sptests/spsimplesched02/init.c @@ -15,6 +15,8 @@ #include +const char rtems_test_name[] = "SPSIMPLESCHED 2"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); rtems_task Test_task(rtems_task_argument argument); @@ -76,7 +78,7 @@ rtems_task Init( { rtems_status_code status; - puts( "\n\n*** SIMPLE SCHEDULER 02 TEST ***" ); + TEST_BEGIN(); status = _Objects_Name_to_id_u32( &_Thread_Internal_information, @@ -134,7 +136,7 @@ rtems_task Init( ObtainRelease( true ); /* End the Test */ - puts( "*** END OF SIMPLE SCHEDULER 02 TEST ***" ); + TEST_END(); rtems_test_exit(0); } @@ -147,6 +149,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 3 #define CONFIGURE_MAXIMUM_SEMAPHORES 2 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE) -- cgit v1.2.3