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/spstkalloc02/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/spstkalloc02/init.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/sptests/spstkalloc02/init.c b/testsuites/sptests/spstkalloc02/init.c index 7191f32cee..7fb5fd2fb1 100644 --- a/testsuites/sptests/spstkalloc02/init.c +++ b/testsuites/sptests/spstkalloc02/init.c @@ -26,6 +26,8 @@ #include <tmacros.h> +const char rtems_test_name[] = "SPSTKALLOC 2"; + #if !BSP_SMALL_MEMORY #include <stdio.h> @@ -74,7 +76,7 @@ static rtems_task Init(rtems_task_argument argument) rtems_id id = RTEMS_ID_NONE; int i = 0; - puts("\n\n*** TEST STKALLOC 02 ***"); + TEST_BEGIN(); print_info(); @@ -112,7 +114,7 @@ static rtems_task Init(rtems_task_argument argument) print_info(); - puts("*** END OF TEST STKALLOC 02 ***"); + TEST_END(); rtems_test_exit(0); } @@ -129,6 +131,8 @@ static rtems_task Init(rtems_task_argument argument) #define CONFIGURE_TASK_STACK_FROM_ALLOCATOR(stack_size) \ ((stack_size) + HEAP_BLOCK_HEADER_SIZE + PAGE_SIZE - 1) +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT @@ -165,7 +169,7 @@ static void task_stack_free(void *addr) static void Init(rtems_task_argument arg) { - puts("\n\n*** TEST STKALLOC 02 ***"); + TEST_BEGIN(); puts("NOT ENOUGH MEMORY TO RUN TEST"); rtems_test_exit(0); |