diff options
Diffstat (limited to 'testsuites/libtests/block09/init.c')
-rw-r--r-- | testsuites/libtests/block09/init.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/libtests/block09/init.c b/testsuites/libtests/block09/init.c index 15cecc3030..8956297663 100644 --- a/testsuites/libtests/block09/init.c +++ b/testsuites/libtests/block09/init.c @@ -30,9 +30,12 @@ #include <rtems.h> #include <rtems/bdbuf.h> #include <rtems/diskdevs.h> +#include <rtems/test.h> #include <bsp.h> +const char rtems_test_name[] = "BLOCK 9"; + /* forward declarations to avoid warnings */ static rtems_task Init(rtems_task_argument argument); @@ -172,7 +175,7 @@ static rtems_task Init(rtems_task_argument argument) dev_t dev = 0; rtems_disk_device *dd = NULL; - printk("\n\n*** TEST BLOCK 9 ***\n"); + rtems_test_begink(); sc = rtems_disk_io_initialize(); ASSERT_SC(sc); @@ -220,7 +223,7 @@ static rtems_task Init(rtems_task_argument argument) sc = rtems_disk_release(dd); ASSERT_SC(sc); - printk("*** END OF TEST BLOCK 9 ***\n"); + rtems_test_endk(); exit(0); } @@ -236,6 +239,8 @@ static rtems_task Init(rtems_task_argument argument) #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_MAXIMUM_DRIVERS 4 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_BDBUF_BUFFER_MIN_SIZE BLOCK_SIZE |