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/psxmutexattr01/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxmutexattr01') diff --git a/testsuites/psxtests/psxmutexattr01/init.c b/testsuites/psxtests/psxmutexattr01/init.c index 64e6ff44c8..1ea1ab58c0 100644 --- a/testsuites/psxtests/psxmutexattr01/init.c +++ b/testsuites/psxtests/psxmutexattr01/init.c @@ -15,6 +15,8 @@ #include #include +const char rtems_test_name[] = "PSXMUTEXATTR 1"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); @@ -45,7 +47,7 @@ void *POSIX_Init( int type; int i; - puts( "\n\n*** POSIX MUTEX ATTRIBUTE TEST 1 ***" ); + TEST_BEGIN(); #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) puts( "Init - pthread_mutexattr_gettype - attr NULL - EINVAL" ); @@ -103,7 +105,7 @@ void *POSIX_Init( puts( "POSIX Mutex Attribute Type Not Supported in Tools" ); #endif - puts( "*** END OF POSIX MUTEX ATTRIBUTE TEST 1 ***" ); + TEST_END(); rtems_test_exit(0); } @@ -112,6 +114,8 @@ void *POSIX_Init( #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 1 #define CONFIGURE_POSIX_INIT_THREAD_TABLE -- cgit v1.2.3