summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/rbheap01
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-17 08:10:40 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-20 09:10:26 +0100
commitf8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch)
tree851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/rbheap01
parenttests/fstests: Remove duplicate begin/end messages (diff)
downloadrtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/rbheap01')
-rw-r--r--testsuites/libtests/rbheap01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/rbheap01/init.c b/testsuites/libtests/rbheap01/init.c
index bf4ef6d63e..b7027bd0b0 100644
--- a/testsuites/libtests/rbheap01/init.c
+++ b/testsuites/libtests/rbheap01/init.c
@@ -23,6 +23,8 @@
#include <rtems/malloc.h>
#include <rtems/score/rbtreeimpl.h>
+const char rtems_test_name[] = "RBHEAP 1";
+
/* forward declarations to avoid warnings */
static rtems_task Init(rtems_task_argument argument);
@@ -593,7 +595,7 @@ static void test_free_merge_left_or_right(bool left)
static void Init(rtems_task_argument arg)
{
- puts("\n\n*** TEST RBHEAP 1 ***");
+ TEST_BEGIN();
test_init_chunk_alignment();
test_init_begin_greater_than_end();
@@ -613,7 +615,7 @@ static void Init(rtems_task_argument arg)
test_free_merge_left_or_right(true);
test_free_merge_left_or_right(false);
- puts("*** END OF TEST RBHEAP 1 ***");
+ TEST_END();
rtems_test_exit(0);
}
@@ -623,6 +625,8 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT