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/psxstack01/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxstack01') diff --git a/testsuites/psxtests/psxstack01/init.c b/testsuites/psxtests/psxstack01/init.c index f873ccc330..7a010c8c6c 100644 --- a/testsuites/psxtests/psxstack01/init.c +++ b/testsuites/psxtests/psxstack01/init.c @@ -19,6 +19,8 @@ #include #include +const char rtems_test_name[] = "PSXSTACK 1"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void *Test_Thread(void *argument); @@ -57,7 +59,7 @@ void *POSIX_Init( pthread_attr_t attr; struct timespec delay_request; - puts( "\n\n*** POSIX STACK ATTRIBUTE TEST 01 ***" ); + TEST_BEGIN(); puts( "Init - Allocate stack from heap" ); Stack_Low = malloc(PTHREAD_MINIMUM_STACK_SIZE); @@ -84,7 +86,7 @@ void *POSIX_Init( sc = nanosleep( &delay_request, NULL ); rtems_test_assert( !sc ); - puts( "*** END OF POSIX STACK ATTRIBUTE TEST 01 ***" ); + TEST_END(); rtems_test_exit(0); return NULL; /* just so the compiler thinks we returned something */ @@ -95,6 +97,8 @@ void *POSIX_Init( #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 2 #define CONFIGURE_POSIX_INIT_THREAD_TABLE -- cgit v1.2.3