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/psxtmmutex03/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtmtests/psxtmmutex03/init.c') diff --git a/testsuites/psxtmtests/psxtmmutex03/init.c b/testsuites/psxtmtests/psxtmmutex03/init.c index 6e6c86a4ae..07f49a5b54 100644 --- a/testsuites/psxtmtests/psxtmmutex03/init.c +++ b/testsuites/psxtmtests/psxtmmutex03/init.c @@ -17,6 +17,8 @@ #include #include "test_support.h" +const char rtems_test_name[] = "PSXTMMUTEX 03"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void benchmark_mutex_lock_available(void); @@ -133,7 +135,7 @@ void *POSIX_Init( { int status; - puts( "\n\n*** POSIX TIME TEST PSXTMMUTEX03 ***" ); + TEST_BEGIN(); /* * Create the single Mutex used in all the test case @@ -160,7 +162,7 @@ void *POSIX_Init( status = pthread_mutex_destroy( &MutexId ); rtems_test_assert( !status ); - puts( "*** END OF POSIX TIME TEST PSXTMMUTEX03 ***" ); + TEST_END(); rtems_test_exit(0); } -- cgit v1.2.3