diff options
Diffstat (limited to 'testsuites/libtests/malloc02/init.c')
-rw-r--r-- | testsuites/libtests/malloc02/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/malloc02/init.c b/testsuites/libtests/malloc02/init.c index f2fd55ef64..dc603b86a6 100644 --- a/testsuites/libtests/malloc02/init.c +++ b/testsuites/libtests/malloc02/init.c @@ -13,6 +13,8 @@ #include <tmacros.h> +const char rtems_test_name[] = "MALLOC 2"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); rtems_timer_service_routine test_operation_from_isr(rtems_id timer, void *arg); @@ -40,7 +42,7 @@ rtems_task Init( rtems_id timer; void *pointer2; - puts( "\n\n*** TEST MALLOC 02 ***" ); + TEST_BEGIN(); puts( "malloc memory to free from ISR" ); Pointer1 = malloc( 20 ); @@ -73,7 +75,7 @@ rtems_task Init( pointer2 = malloc(20); rtems_test_assert( pointer2 ); - puts( "*** END OF TEST MALLOC 02 ***" ); + TEST_END(); rtems_test_exit( 0 ); } @@ -84,6 +86,8 @@ rtems_task Init( #define CONFIGURE_MALLOC_DIRTY +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_MAXIMUM_TIMERS 1 |