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/tztest | |
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/tztest')
-rw-r--r-- | testsuites/libtests/tztest/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 <tmacros.h> #include <time.h> #include <stdlib.h> + +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 |