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