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/spsimplesched01/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/sptests/spsimplesched01') 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 +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) -- cgit v1.2.3