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/psxtmcond05/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtmtests/psxtmcond05/init.c') diff --git a/testsuites/psxtmtests/psxtmcond05/init.c b/testsuites/psxtmtests/psxtmcond05/init.c index 2692c0a6ce..1e74c21bc2 100644 --- a/testsuites/psxtmtests/psxtmcond05/init.c +++ b/testsuites/psxtmtests/psxtmcond05/init.c @@ -16,6 +16,8 @@ #include #include "test_support.h" +const char rtems_test_name[] = "PSXTMCOND 05"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void benchmark_broadcast(void); @@ -47,13 +49,13 @@ void *POSIX_Init( ) { - puts( "\n\n*** POSIX TIME TEST PSXTMCOND05 ***" ); + TEST_BEGIN(); pthread_cond_init(&CondID, NULL); benchmark_broadcast(); - puts( "*** END OF POSIX TIME TEST PSXTMCOND05 ***" ); + TEST_END(); rtems_test_exit(0); } -- cgit v1.2.3