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/tztest/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/libtests/tztest/init.c') diff --git a/testsuites/libtests/tztest/init.c b/testsuites/libtests/tztest/init.c index 7902a99d24..d706cd3b73 100644 --- a/testsuites/libtests/tztest/init.c +++ b/testsuites/libtests/tztest/init.c @@ -23,6 +23,8 @@ #include #include #include + +const char rtems_test_name[] = "TZTEST"; /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); @@ -54,7 +56,7 @@ rtems_task Init( rtems_time_of_day time; rtems_status_code status; - puts( "\n\n*** TIMEZONE TEST ***" ); + TEST_BEGIN(); build_time( &time, 3, 14, 2007, 15, 9, 26, 5 ); status = rtems_clock_set( &time ); @@ -66,7 +68,7 @@ rtems_task Init( tztester(); - puts( "*** END OF TIMEZONE TEST ***" ); + TEST_END(); exit(0); } @@ -74,6 +76,8 @@ rtems_task Init( #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_MAXIMUM_TASKS 1 -- cgit v1.2.3