summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/block01/init.c')
-rw-r--r--testsuites/libtests/block01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/block01/init.c b/testsuites/libtests/block01/init.c
index c26f18adbd..955d922980 100644
--- a/testsuites/libtests/block01/init.c
+++ b/testsuites/libtests/block01/init.c
@@ -33,6 +33,8 @@
#include <rtems/ramdisk.h>
#include <rtems/diskdevs.h>
+const char rtems_test_name[] = "BLOCK 1";
+
/* forward declarations to avoid warnings */
static rtems_task Init(rtems_task_argument argument);
@@ -235,11 +237,11 @@ static void test_diskdevs(void)
static rtems_task Init(rtems_task_argument argument)
{
- puts("\n\n*** TEST BLOCK 1 ***");
+ TEST_BEGIN();
test_diskdevs();
- puts("*** END OF TEST BLOCK 1 ***");
+ TEST_END();
exit(0);
}
@@ -256,6 +258,8 @@ static rtems_task Init(rtems_task_argument argument)
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_MAXIMUM_DRIVERS 2
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#include <rtems/confdefs.h>