diff options
Diffstat (limited to 'testsuites/psxtmtests/psxtmnanosleep02/init.c')
-rw-r--r-- | testsuites/psxtmtests/psxtmnanosleep02/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmnanosleep02/init.c b/testsuites/psxtmtests/psxtmnanosleep02/init.c index 022fc56909..f932811018 100644 --- a/testsuites/psxtmtests/psxtmnanosleep02/init.c +++ b/testsuites/psxtmtests/psxtmnanosleep02/init.c @@ -17,6 +17,8 @@ #include <pthread.h> +const char rtems_test_name[] = "PSXTMNANOSLEEP 02"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void *Middle(void *argument); @@ -38,7 +40,7 @@ void *Low( 0 ); - puts( "*** END OF POSIX TIME TEST PSXTMNANOSLEEP02 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; @@ -73,7 +75,7 @@ void *POSIX_Init( remainder.tv_sec = 0; remainder.tv_nsec = 0; - puts( "\n\n*** POSIX TIME TEST PSXTMNANOSLEEP02 ***" ); + TEST_BEGIN(); for ( i=0 ; i < OPERATION_COUNT - 1 ; i++ ) { status = pthread_create( &threadId, NULL, Middle, NULL ); |