diff options
Diffstat (limited to 'testsuites/psxtests/psx16/init.c')
-rw-r--r-- | testsuites/psxtests/psx16/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx16/init.c b/testsuites/psxtests/psx16/init.c index 4e4d54fa2b..55f652679f 100644 --- a/testsuites/psxtests/psx16/init.c +++ b/testsuites/psxtests/psx16/init.c @@ -15,6 +15,8 @@ #include "test_support.h" #include <pthread.h> +const char rtems_test_name[] = "PSX 16"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void *TestThread(void *argument); @@ -40,7 +42,7 @@ void *POSIX_Init(void *argument) pthread_attr_t attr; void *join_return; - puts( "\n\n*** POSIX TEST PSX16 ***" ); + TEST_BEGIN(); Index = 5; @@ -63,7 +65,7 @@ void *POSIX_Init(void *argument) rtems_test_assert( *(int *)join_return == 7 ); puts( "Successfully joined with TestThread" ); - puts( "*** END OF POSIX TEST PSX16 ***" ); + TEST_END(); rtems_test_exit(0); } @@ -73,6 +75,8 @@ void *POSIX_Init(void *argument) #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 |