From 698c2e504a4382036b412e1b2798ca83432bbbab Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:16 +0100 Subject: tests/psxtests: Use --- testsuites/psxtests/psxusleep/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxusleep') 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 #include +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 -- cgit v1.2.3