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/sparsedisk01/init.c | |
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/sparsedisk01/init.c')
-rw-r--r-- | testsuites/libtests/sparsedisk01/init.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testsuites/libtests/sparsedisk01/init.c b/testsuites/libtests/sparsedisk01/init.c index fa386674aa..954b98f9b2 100644 --- a/testsuites/libtests/sparsedisk01/init.c +++ b/testsuites/libtests/sparsedisk01/init.c @@ -22,6 +22,8 @@ #include "tmacros.h" +const char rtems_test_name[] = "SPARSEDISK 1"; + /* Number of bytes for test pattern within a sparse disk container */ #define STATIC_PATTERN_SIZE 4096 @@ -415,11 +417,11 @@ void test( void ) static void Init( rtems_task_argument arg ) { (void) arg; - puts( "\n\n*** TEST SPARSEDISK 1 ***" ); + TEST_BEGIN(); test(); - puts( "*** END OF TEST SPARSEDISK 1 ***" ); + TEST_END(); rtems_test_exit( 0 ); } @@ -436,8 +438,10 @@ static void Init( rtems_task_argument arg ) #define CONFIGURE_INIT_TASK_STACK_SIZE ( 16 * 1024 ) +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT -#include <rtems/confdefs.h>
\ No newline at end of file +#include <rtems/confdefs.h> |