diff options
Diffstat (limited to 'testsuites/psxtmtests/psxtmbarrier02')
-rw-r--r-- | testsuites/psxtmtests/psxtmbarrier02/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmbarrier02/init.c b/testsuites/psxtmtests/psxtmbarrier02/init.c index 9a20d7a6f6..9952f63708 100644 --- a/testsuites/psxtmtests/psxtmbarrier02/init.c +++ b/testsuites/psxtmtests/psxtmbarrier02/init.c @@ -19,6 +19,8 @@ #include <pthread.h> #include <sched.h> +const char rtems_test_name[] = "PSXTMBARRIER 02"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void *Middle(void *argument); @@ -50,7 +52,7 @@ void *Low( 0 ); - puts( "*** END OF POSIX TIME PSXTMBARRIER 02 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; @@ -84,7 +86,7 @@ void *POSIX_Init( pthread_t threadId; pthread_barrierattr_t attr; - puts( "\n\n*** POSIX TIME PSXTMBARRIER 02 ***" ); + TEST_BEGIN(); for ( i=0 ; i < OPERATION_COUNT - 1 ; i++ ) { status = pthread_create( &threadId, NULL, Middle, NULL ); |