diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 08:10:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-20 09:10:26 +0100 |
commit | f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch) | |
tree | 851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/block08 | |
parent | tests/fstests: Remove duplicate begin/end messages (diff) | |
download | rtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2 |
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/block08')
-rw-r--r-- | testsuites/libtests/block08/init.c | 6 | ||||
-rw-r--r-- | testsuites/libtests/block08/system.h | 5 |
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) |