diff options
Diffstat (limited to 'testsuites/sptests/spsimplesched01/init.c')
-rw-r--r-- | testsuites/sptests/spsimplesched01/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spsimplesched01/init.c b/testsuites/sptests/spsimplesched01/init.c index df1f6c75d8..6bac9c367a 100644 --- a/testsuites/sptests/spsimplesched01/init.c +++ b/testsuites/sptests/spsimplesched01/init.c @@ -13,6 +13,8 @@ #include <tmacros.h> +const char rtems_test_name[] = "SPSIMPLESCHED 1"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); rtems_task Test_task(rtems_task_argument unused); @@ -40,7 +42,7 @@ rtems_task Test_task( status = rtems_clock_get_tod( &time ); directive_failed( status, "clock get tod" ); if ( time.second >= 35 ) { - puts( "*** END OF SIMPLE01 TEST ***" ); + TEST_END(); rtems_test_exit( 0 ); } put_name( Task_name[ task_index ], FALSE ); @@ -60,7 +62,7 @@ rtems_task Init( rtems_time_of_day time; rtems_task_priority old; - puts( "\n\n*** SIMPLE01 TEST ***" ); + TEST_BEGIN(); time.year = 1988; time.month = 12; @@ -128,6 +130,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 4 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_EXTRA_TASK_STACKS (3 * RTEMS_MINIMUM_STACK_SIZE) |