diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 08:10:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-20 09:10:26 +0100 |
commit | f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch) | |
tree | 851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/heapwalk | |
parent | tests/fstests: Remove duplicate begin/end messages (diff) | |
download | rtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2 |
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/heapwalk')
-rw-r--r-- | testsuites/libtests/heapwalk/init.c | 6 | ||||
-rw-r--r-- | testsuites/libtests/heapwalk/system.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/heapwalk/init.c b/testsuites/libtests/heapwalk/init.c index af79d1c1e1..497deab449 100644 --- a/testsuites/libtests/heapwalk/init.c +++ b/testsuites/libtests/heapwalk/init.c @@ -26,6 +26,8 @@ #include <rtems/score/sysstate.h> #include <rtems/dumpbuf.h> +const char rtems_test_name[] = "HEAPWALK"; + #define TEST_HEAP_SIZE 1024 #define TEST_DEFAULT_PAGESIZE 128 #define DUMP false @@ -316,7 +318,7 @@ rtems_task Init( rtems_task_argument argument ) { - puts( "\n\n*** HEAP WALK TEST ***" ); + TEST_BEGIN(); test_system_not_up(); test_check_control(); @@ -326,6 +328,6 @@ rtems_task Init( test_check_free_block(); test_output(); - puts( "*** END OF HEAP WALK TEST ***" ); + TEST_END(); rtems_test_exit(0); } diff --git a/testsuites/libtests/heapwalk/system.h b/testsuites/libtests/heapwalk/system.h index 0589bd37a9..affa3f3fe6 100644 --- a/testsuites/libtests/heapwalk/system.h +++ b/testsuites/libtests/heapwalk/system.h @@ -37,6 +37,8 @@ void blow_stack( void ); #define CONFIGURE_EXTRA_TASK_STACKS ((TASK_STACK_SIZE)*5) #define CONFIGURE_MAXIMUM_TASKS 6 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #include <rtems/confdefs.h> |