diff options
author | bjorn larsson <bjornlarsson@oarcorp.com> | 2014-03-21 15:35:26 -0500 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:37 +0100 |
commit | fd46711c5410cde6f5a1913e6d2e45ddee190269 (patch) | |
tree | 9e1b46c4d7b6e98fc9434df5bad2a9b27a98fe17 /testsuites/psxtmtests/psxtmmutex06 | |
parent | 2ead50ac4e29d0082dd1f833771a01bb2b642636 (diff) |
psxtmtests: Add test.h support
Diffstat (limited to 'testsuites/psxtmtests/psxtmmutex06')
-rw-r--r-- | testsuites/psxtmtests/psxtmmutex06/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmmutex06/init.c b/testsuites/psxtmtests/psxtmmutex06/init.c index c6eb3cf988..047f06336b 100644 --- a/testsuites/psxtmtests/psxtmmutex06/init.c +++ b/testsuites/psxtmtests/psxtmmutex06/init.c @@ -19,6 +19,8 @@ #include <sched.h> #include <rtems/timerdrv.h> +const char rtems_test_name[] = "PSXTMMUTEX 06"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void *Middle(void *argument); @@ -46,7 +48,7 @@ void *Low( 0 ); - puts( "*** END OF POSIX TIME TEST PSXTMMUTEX07 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; } @@ -80,7 +82,7 @@ void *POSIX_Init( pthread_attr_t attr; struct sched_param param; - puts( "\n\n*** POSIX TIME TEST PSXTMMUTEX02 ***" ); + TEST_BEGIN(); /* * Deliberately create the mutex BEFORE the threads. This way the |