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/psxtmbarrier03/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtmtests/psxtmbarrier03') diff --git a/testsuites/psxtmtests/psxtmbarrier03/init.c b/testsuites/psxtmtests/psxtmbarrier03/init.c index 3bfe8e3a8c..c8b4c1bea4 100644 --- a/testsuites/psxtmtests/psxtmbarrier03/init.c +++ b/testsuites/psxtmtests/psxtmbarrier03/init.c @@ -19,6 +19,8 @@ #include #include +const char rtems_test_name[] = "PSXTMBARRIER 03"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void *Blocker(void *argument); @@ -43,7 +45,7 @@ void *POSIX_Init( pthread_t threadId; benchmark_timer_t end_time; - puts( "\n\n*** POSIX TIME TEST PSXTMBARRIER 03 ***" ); + TEST_BEGIN(); status = pthread_create( &threadId, NULL, Blocker, NULL ); rtems_test_assert( status == 0 ); @@ -84,7 +86,7 @@ void *POSIX_Init( 0 ); - puts( "*** END OF POSIX TIME TEST PSXTMBARRIER 03 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; -- cgit v1.2.3