summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/block08
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/block08
parenttests/fstests: Remove duplicate begin/end messages (diff)
downloadrtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/block08')
-rw-r--r--testsuites/libtests/block08/init.c6
-rw-r--r--testsuites/libtests/block08/system.h5
2 files changed, 8 insertions, 3 deletions
diff --git a/testsuites/libtests/block08/init.c b/testsuites/libtests/block08/init.c
index be7495d8ff..c6a82d1d82 100644
--- a/testsuites/libtests/block08/init.c
+++ b/testsuites/libtests/block08/init.c
@@ -24,11 +24,13 @@
#include "bdbuf_tests.h"
+const char rtems_test_name[] = "BLOCK 8";
+
rtems_task Init(rtems_task_argument argument)
{
- puts( "\n\n*** TEST BLOCK 8 ***" );
+ rtems_test_begin();
run_bdbuf_tests();
- puts( "*** END OF TEST BLOCK 8 ***" );
+ rtems_test_end();
exit(0);
}
diff --git a/testsuites/libtests/block08/system.h b/testsuites/libtests/block08/system.h
index 6965104a26..29c4614ff6 100644
--- a/testsuites/libtests/block08/system.h
+++ b/testsuites/libtests/block08/system.h
@@ -12,7 +12,8 @@
*/
#include <rtems.h>
-#include "rtems/blkdev.h"
+#include <rtems/blkdev.h>
+#include <rtems/test.h>
#include <bsp.h>
@@ -46,6 +47,8 @@ rtems_task Init(
*/
#define CONFIGURE_MAXIMUM_DRIVERS 5
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_STACK_SIZE (4 * RTEMS_MINIMUM_STACK_SIZE)