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/spsimplesched03/init.c | |
parent | tests/psxtests: Use <rtems/test.h> (diff) | |
download | rtems-6c0301daad418d362f71eaa7e5c4b6a2d948fc50.tar.bz2 |
tests/sptests: Use <rtems/test.h>
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spsimplesched03/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/sptests/spsimplesched03/init.c b/testsuites/sptests/spsimplesched03/init.c index 81831f9ae7..2f352af88b 100644 --- a/testsuites/sptests/spsimplesched03/init.c +++ b/testsuites/sptests/spsimplesched03/init.c @@ -13,6 +13,8 @@ #include <tmacros.h> +const char rtems_test_name[] = "SPSIMPLESCHED 3"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); @@ -22,7 +24,7 @@ rtems_task Init( { rtems_status_code status; - puts( "\n\n*** SIMPLE SCHEDULER 03 TEST ***" ); + TEST_BEGIN(); puts( "INIT - rtems timer initiate server"); status = rtems_timer_initiate_server( @@ -33,7 +35,7 @@ rtems_task Init( directive_failed( status, "Timer Initiate Server" ); /* End the Test */ - puts( "*** END OF SIMPLE SCHEDULER 03 TEST ***" ); + TEST_END(); rtems_test_exit(0); } @@ -43,6 +45,8 @@ rtems_task Init( #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_MAXIMUM_TASKS 2 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT_TASK_PRIORITY 2 |