From fd46711c5410cde6f5a1913e6d2e45ddee190269 Mon Sep 17 00:00:00 2001 From: bjorn larsson Date: Fri, 21 Mar 2014 15:35:26 -0500 Subject: psxtmtests: Add test.h support --- testsuites/psxtmtests/psxtmmutex04/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtmtests/psxtmmutex04') diff --git a/testsuites/psxtmtests/psxtmmutex04/init.c b/testsuites/psxtmtests/psxtmmutex04/init.c index 6ccf07dbe0..a1a8aa2dcd 100644 --- a/testsuites/psxtmtests/psxtmmutex04/init.c +++ b/testsuites/psxtmtests/psxtmmutex04/init.c @@ -19,6 +19,8 @@ #include #include +const char rtems_test_name[] = "PSXTMMUTEX 04"; + /* 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 TEST PSXTMMUTEX04 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; @@ -84,7 +86,7 @@ void *POSIX_Init( int status; pthread_t threadId; - puts( "\n\n*** POSIX TIME TEST PSXTMMUTEX04 ***" ); + TEST_BEGIN(); for ( i=0 ; i < OPERATION_COUNT - 1 ; i++ ) { status = pthread_create( &threadId, NULL, Middle, NULL ); -- cgit v1.2.3