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/spsimplesched02/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/spsimplesched02/init.c')
-rw-r--r-- | testsuites/sptests/spsimplesched02/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 <rtems/score/threadimpl.h> +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) |