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/psxcleanup01/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxcleanup01/init.c') diff --git a/testsuites/psxtests/psxcleanup01/init.c b/testsuites/psxtests/psxcleanup01/init.c index 427bc7fb34..502f90bc6b 100644 --- a/testsuites/psxtests/psxcleanup01/init.c +++ b/testsuites/psxtests/psxcleanup01/init.c @@ -15,6 +15,8 @@ #include "pmacros.h" #include /* thread facilities */ +const char rtems_test_name[] = "PSXCLEANUP 1"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void cleaner(void *arg); @@ -29,7 +31,7 @@ void *POSIX_Init( void *argument ) { - puts( "\n\n*** POSIX CLEANUP TEST 01 ***" ); + TEST_BEGIN(); puts( "Init - pthread_cleanup_push - a routine we will not execute" ); pthread_cleanup_push(cleaner, NULL); @@ -37,7 +39,7 @@ void *POSIX_Init( puts( "Init - pthread_cleanup_pop - do not execute" ); pthread_cleanup_pop(0); - puts( "*** END OF POSIX CLEANUP TEST 01 ***\n" ); + TEST_END(); rtems_test_exit(0); } @@ -49,6 +51,8 @@ void *POSIX_Init( #define CONFIGURE_POSIX_INIT_THREAD_TABLE +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 1 #define CONFIGURE_INIT -- cgit v1.2.3