diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
commit | 698c2e504a4382036b412e1b2798ca83432bbbab (patch) | |
tree | 114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxclock/init.c | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxclock/init.c')
-rw-r--r-- | testsuites/psxtests/psxclock/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxclock/init.c b/testsuites/psxtests/psxclock/init.c index 58beda16c8..669f4bb0c4 100644 --- a/testsuites/psxtests/psxclock/init.c +++ b/testsuites/psxtests/psxclock/init.c @@ -19,6 +19,8 @@ #include <rtems/score/todimpl.h> +const char rtems_test_name[] = "PSXCLOCK"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); void check_enosys(int status); @@ -44,7 +46,7 @@ rtems_task Init( struct tm tm; struct timespec delay_request; - puts( "\n\n*** POSIX CLOCK TEST ***" ); + TEST_BEGIN(); tm_build_time( &tm, TM_FRIDAY, TM_MAY, 24, 96, 11, 5, 0 ); @@ -253,7 +255,7 @@ rtems_task Init( } #endif - puts( "*** END OF POSIX CLOCK TEST ***" ); + TEST_END(); rtems_test_exit(0); } @@ -262,6 +264,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 |