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/dumpbuf01 | |
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/dumpbuf01')
-rw-r--r-- | testsuites/libtests/dumpbuf01/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/dumpbuf01/init.c b/testsuites/libtests/dumpbuf01/init.c index e14375705f..ce8b7b10aa 100644 --- a/testsuites/libtests/dumpbuf01/init.c +++ b/testsuites/libtests/dumpbuf01/init.c @@ -15,6 +15,8 @@ #include "test_support.h" #include <rtems/dumpbuf.h> +const char rtems_test_name[] = "DUMPBUF 1"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); void do_test(int length); @@ -36,14 +38,14 @@ rtems_task Init( { int i; - puts( "\n\n*** TEST DUMPBUF01 ***" ); + TEST_BEGIN(); for ( i = 0 ; i < sizeof(Buffer) ; i++ ) { do_test( i ); } do_test( -1 ); - puts( "*** END OF TEST DUMPBUF01 ***" ); + TEST_END(); rtems_test_exit(0); } @@ -54,6 +56,8 @@ rtems_task Init( #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT |