summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block10
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-17 08:10:40 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-20 09:10:26 +0100
commitf8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch)
tree851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/block10
parenttests/fstests: Remove duplicate begin/end messages (diff)
downloadrtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/block10')
-rw-r--r--testsuites/libtests/block10/init.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/testsuites/libtests/block10/init.c b/testsuites/libtests/block10/init.c
index 654357f27c..3651fe0b7a 100644
--- a/testsuites/libtests/block10/init.c
+++ b/testsuites/libtests/block10/init.c
@@ -29,9 +29,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 10";
+
/* forward declarations to avoid warnings */
static rtems_task Init(rtems_task_argument argument);
@@ -398,7 +401,7 @@ static rtems_task Init(rtems_task_argument argument)
size_t i_rel = 0;
size_t i_p = 0;
- printk("\n\n*** TEST BLOCK 10 ***\n");
+ rtems_test_begink();
task_id_init = rtems_task_self();
@@ -462,7 +465,7 @@ static rtems_task Init(rtems_task_argument argument)
}
}
- printk("*** END OF TEST BLOCK 10 ***\n");
+ rtems_test_endk();
exit(0);
}
@@ -478,6 +481,8 @@ static rtems_task Init(rtems_task_argument argument)
#define CONFIGURE_MAXIMUM_TASKS 3
#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