From f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Mar 2014 08:10:40 +0100 Subject: tests/libtests: Use --- testsuites/libtests/block04/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/libtests/block04') diff --git a/testsuites/libtests/block04/init.c b/testsuites/libtests/block04/init.c index 1a93a3027b..2889e5a06e 100644 --- a/testsuites/libtests/block04/init.c +++ b/testsuites/libtests/block04/init.c @@ -31,6 +31,8 @@ #include #include +const char rtems_test_name[] = "BLOCK 4"; + /* forward declarations to avoid warnings */ static rtems_task Init(rtems_task_argument argument); @@ -99,7 +101,7 @@ static void task_high(rtems_task_argument arg) printk("H: release done: 0\n"); - printk("*** END OF TEST BLOCK 4 ***\n"); + rtems_test_endk(); exit(0); } @@ -109,7 +111,7 @@ static rtems_task Init(rtems_task_argument argument) rtems_status_code sc = RTEMS_SUCCESSFUL; dev_t dev = 0; - printk("\n\n*** TEST BLOCK 4 ***\n"); + rtems_test_begink(); sc = rtems_disk_io_initialize(); ASSERT_SC(sc); @@ -161,6 +163,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 -- cgit v1.2.3