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/psx08/init.c | 4 +++- testsuites/psxtests/psx08/system.h | 2 ++ testsuites/psxtests/psx08/task3.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psx08') diff --git a/testsuites/psxtests/psx08/init.c b/testsuites/psxtests/psx08/init.c index 1297d0fd9f..781ac1ed30 100644 --- a/testsuites/psxtests/psx08/init.c +++ b/testsuites/psxtests/psx08/init.c @@ -15,6 +15,8 @@ #include "system.h" #include +const char rtems_test_name[] = "PSX 8"; + void *POSIX_Init( void *argument ) @@ -22,7 +24,7 @@ void *POSIX_Init( int status; void *return_pointer; - puts( "\n\n*** POSIX TEST 8 ***" ); + TEST_BEGIN(); /* set the time of day, and print our buffer in multiple ways */ diff --git a/testsuites/psxtests/psx08/system.h b/testsuites/psxtests/psx08/system.h index 756ea4902e..1ae4483636 100644 --- a/testsuites/psxtests/psx08/system.h +++ b/testsuites/psxtests/psx08/system.h @@ -36,6 +36,8 @@ void *Task_3( #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 4 #define CONFIGURE_POSIX_INIT_THREAD_TABLE diff --git a/testsuites/psxtests/psx08/task3.c b/testsuites/psxtests/psx08/task3.c index 8bfee0b662..acbdb9951f 100644 --- a/testsuites/psxtests/psx08/task3.c +++ b/testsuites/psxtests/psx08/task3.c @@ -46,7 +46,7 @@ void *Task_3( &Task2_id ); - puts( "*** END OF POSIX TEST 8 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; /* just so the compiler thinks we returned something */ -- cgit v1.2.3