From f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 17 Mar 2014 08:10:40 +0100 Subject: tests/libtests: Use --- testsuites/libtests/dumpbuf01/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/libtests/dumpbuf01') 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 +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 -- cgit v1.2.3