diff options
Diffstat (limited to 'testsuites/libtests/block03/init.c')
-rw-r--r-- | testsuites/libtests/block03/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/block03/init.c b/testsuites/libtests/block03/init.c index 2ad2b4909d..ce1f87f28d 100644 --- a/testsuites/libtests/block03/init.c +++ b/testsuites/libtests/block03/init.c @@ -31,6 +31,8 @@ #include <rtems/bdbuf.h> #include <rtems/diskdevs.h> +const char rtems_test_name[] = "BLOCK 3"; + /* forward declarations to avoid warnings */ static rtems_task Init(rtems_task_argument argument); @@ -74,7 +76,7 @@ static void task_low(rtems_task_argument arg) rtems_test_assert(bd->block == 0); - printk("*** END OF TEST BLOCK 3 ***\n"); + rtems_test_endk(); exit(0); } @@ -127,7 +129,7 @@ static rtems_task Init(rtems_task_argument argument) rtems_bdbuf_buffer *bd = NULL; dev_t dev = 0; - printk("\n\n*** TEST BLOCK 3 ***\n"); + rtems_test_begink(); sc = rtems_disk_io_initialize(); ASSERT_SC(sc); @@ -189,6 +191,8 @@ static rtems_task Init(rtems_task_argument argument) #define CONFIGURE_MAXIMUM_TASKS 3 #define CONFIGURE_MAXIMUM_DRIVERS 2 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT_TASK_PRIORITY PRIORITY_INIT |