From 698c2e504a4382036b412e1b2798ca83432bbbab Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:16 +0100 Subject: tests/psxtests: Use --- testsuites/psxtests/psxonce01/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxonce01') diff --git a/testsuites/psxtests/psxonce01/init.c b/testsuites/psxtests/psxonce01/init.c index cd3eb2ad29..1c90769d38 100644 --- a/testsuites/psxtests/psxonce01/init.c +++ b/testsuites/psxtests/psxonce01/init.c @@ -14,6 +14,8 @@ #define CONFIGURE_INIT #include "system.h" +const char rtems_test_name[] = "PSXONCE 1"; + static pthread_once_t nesting_once = PTHREAD_ONCE_INIT; static void Test_init_routine_nesting( void ) @@ -38,7 +40,7 @@ rtems_task Init(rtems_task_argument argument) int status; pthread_once_t once = PTHREAD_ONCE_INIT; - puts( "\n\n*** TEST POSIX ONCE 01 ***" ); + TEST_BEGIN(); puts( "Init: pthread_once - EINVAL (NULL once_control)" ); status = pthread_once( NULL, Test_init_routine ); @@ -64,6 +66,6 @@ rtems_task Init(rtems_task_argument argument) status = pthread_once( &nesting_once, Test_init_routine_nesting ); rtems_test_assert( !status ); - puts( "*** END OF TEST POSIX ONCE 01 ***" ); + TEST_END(); rtems_test_exit( 0 ); } -- cgit v1.2.3