summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxeintr_join
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
commit698c2e504a4382036b412e1b2798ca83432bbbab (patch)
tree114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxeintr_join
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxeintr_join')
-rw-r--r--testsuites/psxtests/psxeintr_join/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxeintr_join/init.c b/testsuites/psxtests/psxeintr_join/init.c
index 797605db8e..7fe0da73cd 100644
--- a/testsuites/psxtests/psxeintr_join/init.c
+++ b/testsuites/psxtests/psxeintr_join/init.c
@@ -20,6 +20,8 @@
#include <tmacros.h>
#include "test_support.h"
+const char rtems_test_name[] = "PSXEINTR_JOIN";
+
#define SIG_SUSPEND SIGUSR1
#define SIG_THR_RESTART SIGUSR2
@@ -85,7 +87,7 @@ void *POSIX_Init( void *arg )
pthread_t mainThread;
int status;
- puts( "*** POSIX TEST PSXEINTR_JOIN ***" );
+ TEST_BEGIN();
status = sem_init( &GC_suspend_ack_sem, 0, 0);
rtems_test_assert( status == 0 );
@@ -114,7 +116,7 @@ void *POSIX_Init( void *arg )
pthread_join( newThread, NULL );
puts( "Back from pthread_join" );
- puts( "*** END OF POSIX TEST PSXEINTR_JOIN ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL;
@@ -125,6 +127,8 @@ void *POSIX_Init( void *arg )
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_POSIX_INIT_THREAD_TABLE
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_MAXIMUM_POSIX_THREADS 2
#define CONFIGURE_MAXIMUM_POSIX_SEMAPHORES 1