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/block05 | |
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/block05')
-rw-r--r-- | testsuites/libtests/block05/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/block05/init.c b/testsuites/libtests/block05/init.c index 0a56ec6aa5..950a197473 100644 --- a/testsuites/libtests/block05/init.c +++ b/testsuites/libtests/block05/init.c @@ -32,6 +32,8 @@ #include <rtems/bdbuf.h> #include <rtems/diskdevs.h> +const char rtems_test_name[] = "BLOCK 5"; + /* forward declarations to avoid warnings */ static rtems_task Init(rtems_task_argument argument); @@ -424,7 +426,7 @@ static rtems_task Init(rtems_task_argument argument) rtems_status_code sc = RTEMS_SUCCESSFUL; unsigned i = 0; - printk("\n\n*** TEST BLOCK 5 ***\n"); + rtems_test_begink(); task_id_init = rtems_task_self(); @@ -503,7 +505,7 @@ static rtems_task Init(rtems_task_argument argument) } } - printk("*** END OF TEST BLOCK 5 ***\n"); + rtems_test_endk(); exit(0); } @@ -519,6 +521,8 @@ static rtems_task Init(rtems_task_argument argument) #define CONFIGURE_MAXIMUM_TASKS 4 #define CONFIGURE_MAXIMUM_DRIVERS 4 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT_TASK_PRIORITY PRIORITY_INIT |