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/block06 | |
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/block06')
-rw-r--r-- | testsuites/libtests/block06/init.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/testsuites/libtests/block06/init.c b/testsuites/libtests/block06/init.c index 6352aba933..644c30762b 100644 --- a/testsuites/libtests/block06/init.c +++ b/testsuites/libtests/block06/init.c @@ -32,6 +32,10 @@ #include <bsp.h> +#include <tmacros.h> + +const char rtems_test_name[] = "BLOCK 6"; + /* forward declarations to avoid warnings */ static rtems_task Init(rtems_task_argument argument); @@ -1831,11 +1835,11 @@ bdbuf_tester (void) static rtems_task Init(rtems_task_argument argument) { - printf ("\n\n*** TEST BLOCK 6 ***\n"); + TEST_BEGIN(); bdbuf_tester (); - printf ("*** END OF TEST BLOCK 6 ***\n"); + TEST_END(); exit (0); } @@ -1858,6 +1862,8 @@ static rtems_task Init(rtems_task_argument argument) (BDBUF_TEST_TASKS * BDBUF_TEST_STACK_SIZE) #define CONFIGURE_INIT_TASK_STACK_SIZE BDBUF_TEST_STACK_SIZE +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #include <rtems/confdefs.h> |