summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmrwlock04
diff options
context:
space:
mode:
authorbjorn larsson <bjornlarsson@oarcorp.com>2014-03-21 15:35:26 -0500
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:37 +0100
commitfd46711c5410cde6f5a1913e6d2e45ddee190269 (patch)
tree9e1b46c4d7b6e98fc9434df5bad2a9b27a98fe17 /testsuites/psxtmtests/psxtmrwlock04
parenttmtests: convert to test.h (diff)
downloadrtems-fd46711c5410cde6f5a1913e6d2e45ddee190269.tar.bz2
psxtmtests: Add test.h support
Diffstat (limited to 'testsuites/psxtmtests/psxtmrwlock04')
-rw-r--r--testsuites/psxtmtests/psxtmrwlock04/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmrwlock04/init.c b/testsuites/psxtmtests/psxtmrwlock04/init.c
index f2aacbd02b..1eb2236d14 100644
--- a/testsuites/psxtmtests/psxtmrwlock04/init.c
+++ b/testsuites/psxtmtests/psxtmrwlock04/init.c
@@ -19,6 +19,8 @@
#include <rtems/timerdrv.h>
#include "test_support.h"
+const char rtems_test_name[] = "PSXTMRWLOCK 04";
+
/* forward declarations to avoid warnings */
void *POSIX_Init(void *argument);
void *Middle(void *argument);
@@ -50,7 +52,7 @@ void *Low(
0
);
- puts( "*** END OF POSIX TIME PSXTMRWLOCK 04 TEST ***" );
+ TEST_END();
rtems_test_exit( 0 );
return NULL;
@@ -86,7 +88,7 @@ void *POSIX_Init(
pthread_t threadId;
pthread_rwlockattr_t attr;
- puts( "\n\n*** POSIX TIME PSXTMRWLOCK 04 TEST ***" );
+ TEST_BEGIN();
for ( i=0 ; i < OPERATION_COUNT - 1 ; i++ ) {
status = pthread_create( &threadId, NULL, Middle, NULL );