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/psxtmthread05/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtmtests/psxtmthread05') diff --git a/testsuites/psxtmtests/psxtmthread05/init.c b/testsuites/psxtmtests/psxtmthread05/init.c index 7b26b7b536..98346b6be6 100644 --- a/testsuites/psxtmtests/psxtmthread05/init.c +++ b/testsuites/psxtmtests/psxtmthread05/init.c @@ -18,6 +18,8 @@ #include #include "test_support.h" +const char rtems_test_name[] = "PSXTMTHREAD 05"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void benchmark_pthread_create(void); @@ -64,7 +66,7 @@ void *test_thread( 0 ); - puts( "*** END OF POSIX TIME TEST PSXTMTHREAD05 ***" ); + TEST_END(); rtems_test_exit(0); //Empty thread used in pthread_create(). return NULL; @@ -75,7 +77,7 @@ void *POSIX_Init( ) { - puts( "\n\n*** POSIX TIME TEST PSXTMTHREAD05 ***" ); + TEST_BEGIN(); benchmark_pthread_setschedparam(); rtems_test_assert( 1 ); -- cgit v1.2.3