diff options
Diffstat (limited to 'testsuites/psxtests/psxusleep')
-rw-r--r-- | testsuites/psxtests/psxusleep/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxusleep/init.c b/testsuites/psxtests/psxusleep/init.c index 205c6c4fe0..383943e1fe 100644 --- a/testsuites/psxtests/psxusleep/init.c +++ b/testsuites/psxtests/psxusleep/init.c @@ -15,6 +15,8 @@ #include <time.h> #include <errno.h> +const char rtems_test_name[] = "PSXUSLEEP"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); @@ -27,7 +29,7 @@ rtems_task Init( useconds_t remaining; int sc; - puts( "\n\n*** POSIX USLEEP TEST ***" ); + TEST_BEGIN(); tm_build_time( &tm, TM_FRIDAY, TM_MAY, 24, 96, 11, 5, 0 ); @@ -57,7 +59,7 @@ rtems_task Init( printf( ctime( &tv.tv_sec ) ); - puts( "*** END OF POSIX USLEEP TEST ***" ); + TEST_END(); rtems_test_exit(0); } @@ -66,6 +68,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 |