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/psx04/init.c | 6 ++++-- testsuites/psxtests/psx04/system.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psx04') diff --git a/testsuites/psxtests/psx04/init.c b/testsuites/psxtests/psx04/init.c index d9260379ce..ff3bb96e13 100644 --- a/testsuites/psxtests/psx04/init.c +++ b/testsuites/psxtests/psx04/init.c @@ -16,6 +16,8 @@ #include #include +const char rtems_test_name[] = "PSX 4"; + volatile int Signal_occurred; volatile int Signal_count; void Signal_handler( int signo ); @@ -71,7 +73,7 @@ void *POSIX_Init( struct timespec timeout; siginfo_t info; - puts( "\n\n*** POSIX TEST 4 ***" ); + TEST_BEGIN(); /* set the time of day, and print our buffer in multiple ways */ @@ -579,7 +581,7 @@ void *POSIX_Init( /* exit this thread */ - puts( "*** END OF POSIX TEST 4 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; /* just so the compiler thinks we returned something */ diff --git a/testsuites/psxtests/psx04/system.h b/testsuites/psxtests/psx04/system.h index af1331c009..ebd61607cd 100644 --- a/testsuites/psxtests/psx04/system.h +++ b/testsuites/psxtests/psx04/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_MAXIMUM_POSIX_QUEUED_SIGNALS 5 -- cgit v1.2.3