summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxsignal06
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxsignal06')
-rw-r--r--testsuites/psxtests/psxsignal06/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxsignal06/init.c b/testsuites/psxtests/psxsignal06/init.c
index 775a62e8a4..decab51e78 100644
--- a/testsuites/psxtests/psxsignal06/init.c
+++ b/testsuites/psxtests/psxsignal06/init.c
@@ -16,6 +16,8 @@
#include <pthread.h>
#include <errno.h>
+const char rtems_test_name[] = "PSXSIGNAL 6";
+
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);
void Handler(int signo);
@@ -75,7 +77,7 @@ void *POSIX_Init(void *argument)
{
int status;
- puts( "\n\n*** POSIX TEST SIGNAL 06 ***" );
+ TEST_BEGIN();
puts( "Init: pthread_cond_init - OK" );
status = pthread_cond_init( &CondVarId, NULL );
@@ -111,7 +113,7 @@ void *POSIX_Init(void *argument)
- puts( "*** END OF POSIX TEST SIGNAL 06 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -121,6 +123,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_MAXIMUM_POSIX_CONDITION_VARIABLES 2
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 1