From 698c2e504a4382036b412e1b2798ca83432bbbab Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:16 +0100 Subject: tests/psxtests: Use --- testsuites/psxtests/psxgetattrnp01/init.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'testsuites/psxtests/psxgetattrnp01') diff --git a/testsuites/psxtests/psxgetattrnp01/init.c b/testsuites/psxtests/psxgetattrnp01/init.c index d5b05ffb28..df3e33541d 100644 --- a/testsuites/psxtests/psxgetattrnp01/init.c +++ b/testsuites/psxtests/psxgetattrnp01/init.c @@ -18,6 +18,8 @@ #include #include +const char rtems_test_name[] = "PSXGETATTRNP 1"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); @@ -87,7 +89,7 @@ void *POSIX_Init( size_t guardsize; struct sched_param param; - puts( "\n\n*** POSIX ATTRIBUTE TEST 1 ***" ); + TEST_BEGIN(); /* Initialize thread id */ Init_id = pthread_self(); @@ -159,7 +161,7 @@ void *POSIX_Init( rtems_test_assert( !sc ); #endif - puts( "*** END OF POSIX ATTRIBUTE TEST 1 ***" ); + TEST_END(); rtems_test_exit(0); return NULL; /* just so the compiler thinks we returned something */ } @@ -168,9 +170,9 @@ void *POSIX_Init( void *ignored ) { - puts( "\n\n*** POSIX ATTRIBUTE TEST 1 ***" ); + TEST_BEGIN(); puts( " pthread_getattr_np NOT supported" ); - puts( "*** END OF POSIX ATTRIBUTE TEST 1 ***" ); + TEST_END(); rtems_test_exit(0); return NULL; /* just so the compiler thinks we returned something */ } -- cgit v1.2.3