diff options
Diffstat (limited to 'testsuites/psxtests/psxkey06/init.c')
-rw-r--r-- | testsuites/psxtests/psxkey06/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxkey06/init.c b/testsuites/psxtests/psxkey06/init.c index a9b9a6ff02..2e4804d388 100644 --- a/testsuites/psxtests/psxkey06/init.c +++ b/testsuites/psxtests/psxkey06/init.c @@ -17,6 +17,8 @@ #include "tmacros.h" #include "pmacros.h" +const char rtems_test_name[] = "PSXKEY 6"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument argument); rtems_task Test_Thread1(rtems_task_argument argument); @@ -89,7 +91,7 @@ rtems_task Init( rtems_task_argument ignored ) int sc; struct timespec delay_request; - puts( "\n\n*** TEST KEY 06 ***" ); + TEST_BEGIN(); puts( "Init - pthread key1 create - OK" ); sc = pthread_key_create( &key1, NULL ); @@ -141,7 +143,7 @@ rtems_task Init( rtems_task_argument ignored ) sc = pthread_key_delete( key2 ); rtems_test_assert( sc == 0 ); - puts( "*** END OF TEST KEY 06 ***" ); + TEST_END(); rtems_test_exit(0); } @@ -150,6 +152,8 @@ rtems_task Init( rtems_task_argument ignored ) #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_TASKS 3 #define CONFIGURE_MAXIMUM_POSIX_KEYS 2 |