diff options
Diffstat (limited to 'testsuites/psxtmtests/psxtmmutex05/init.c')
-rw-r--r-- | testsuites/psxtmtests/psxtmmutex05/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmmutex05/init.c b/testsuites/psxtmtests/psxtmmutex05/init.c index 0ce8d39f7e..d36e5340ab 100644 --- a/testsuites/psxtmtests/psxtmmutex05/init.c +++ b/testsuites/psxtmtests/psxtmmutex05/init.c @@ -19,6 +19,8 @@ #include <sched.h> #include <rtems/timerdrv.h> +const char rtems_test_name[] = "PSXTMMUTEX 05"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void *Blocker(void *argument); @@ -44,7 +46,7 @@ void *POSIX_Init( pthread_t threadId; benchmark_timer_t end_time; - puts( "\n\n*** POSIX TIME TEST PSXTMMUTEX05 ***" ); + TEST_BEGIN(); status = pthread_create( &threadId, NULL, Blocker, NULL ); rtems_test_assert( status == 0 ); @@ -82,7 +84,7 @@ void *POSIX_Init( 0 ); - puts( "*** END OF POSIX TIME TEST PSXTMMUTEX05 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; |