diff options
Diffstat (limited to 'testsuites/psxtmtests/psxtmrwlock06/init.c')
-rw-r--r-- | testsuites/psxtmtests/psxtmrwlock06/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmrwlock06/init.c b/testsuites/psxtmtests/psxtmrwlock06/init.c index 572aa33696..b83bfdd7f3 100644 --- a/testsuites/psxtmtests/psxtmrwlock06/init.c +++ b/testsuites/psxtmtests/psxtmrwlock06/init.c @@ -19,6 +19,8 @@ #include "test_support.h" #include <rtems/timerdrv.h> +const char rtems_test_name[] = "PSXTMRWLOCK 06"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void *Blocker(void *argument); @@ -45,7 +47,7 @@ void *POSIX_Init( benchmark_timer_t end_time; pthread_rwlockattr_t attr; - puts( "\n\n*** POSIX TIME TEST PSXTMRWLOCK 06 ***" ); + TEST_BEGIN(); status = pthread_create( &threadId, NULL, Blocker, NULL ); rtems_test_assert( status == 0 ); @@ -87,7 +89,7 @@ void *POSIX_Init( 0 ); - puts( "*** END OF POSIX TIME TEST PSXTMRWLOCK 06 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; |