From f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Mar 2014 08:10:40 +0100 Subject: tests/libtests: Use --- testsuites/libtests/malloc04/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/libtests/malloc04') diff --git a/testsuites/libtests/malloc04/init.c b/testsuites/libtests/malloc04/init.c index ff55efadf0..487e43dad6 100644 --- a/testsuites/libtests/malloc04/init.c +++ b/testsuites/libtests/malloc04/init.c @@ -17,6 +17,8 @@ #include #include +const char rtems_test_name[] = "MALLOC 4"; + /* configuration information */ /* At top of file to have access to configuration variables */ @@ -24,6 +26,8 @@ #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT @@ -77,7 +81,7 @@ rtems_task Init( Heap_Area area; void *p; - puts( "\n\n*** TEST MALLOC 04 ***" ); + TEST_BEGIN(); /* Safe information on real heap */ real_heap = malloc_get_heap_pointer(); @@ -164,7 +168,7 @@ rtems_task Init( /* Restore information on real heap */ malloc_set_heap_pointer( real_heap ); - puts( "*** END OF TEST MALLOC 04 ***" ); + TEST_END(); rtems_test_exit(0); } -- cgit v1.2.3