diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:21 +0100 |
commit | 6c0301daad418d362f71eaa7e5c4b6a2d948fc50 (patch) | |
tree | d08b9e09d3c69ca35f96c9f1eeff8eb244df92ed /testsuites/sptests/sp52/init.c | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/sptests/sp52/init.c')
-rw-r--r-- | testsuites/sptests/sp52/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/sp52/init.c b/testsuites/sptests/sp52/init.c index 1615bd7d94..f003d1c85e 100644 --- a/testsuites/sptests/sp52/init.c +++ b/testsuites/sptests/sp52/init.c @@ -27,6 +27,8 @@ #include <tmacros.h> +const char rtems_test_name[] = "SP " TEST_NUMBER; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); rtems_timer_service_routine TIMER_service_routine( @@ -57,7 +59,7 @@ rtems_task Init( rtems_time_of_day global_time; rtems_time_of_day time_to_fire; - puts( "\n\n*** TEST " TEST_NUMBER " ***" ); + TEST_BEGIN(); /* build timer name*/ timer_name = rtems_build_name('T', 'M', '1', ' '); @@ -107,7 +109,7 @@ rtems_task Init( puts( TSR_MODE " Timer fired after setting time forward -- OK"); - puts( "*** END OF TEST " TEST_NUMBER " ***" ); + TEST_END(); rtems_test_exit(0); } @@ -119,6 +121,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 2 #define CONFIGURE_MAXIMUM_TIMERS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT_TASK_PRIORITY (RTEMS_MINIMUM_PRIORITY + 1) |