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/psxtmsleep02/init.c | |
parent | tmtests: convert to test.h (diff) | |
download | rtems-fd46711c5410cde6f5a1913e6d2e45ddee190269.tar.bz2 |
psxtmtests: Add test.h support
Diffstat (limited to 'testsuites/psxtmtests/psxtmsleep02/init.c')
-rw-r--r-- | testsuites/psxtmtests/psxtmsleep02/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmsleep02/init.c b/testsuites/psxtmtests/psxtmsleep02/init.c index 3db468a8dc..9889175308 100644 --- a/testsuites/psxtmtests/psxtmsleep02/init.c +++ b/testsuites/psxtmtests/psxtmsleep02/init.c @@ -17,6 +17,8 @@ #include <pthread.h> +const char rtems_test_name[] = "PSXTMSLEEP 02"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void *Middle(void *argument); @@ -38,7 +40,7 @@ void *Low( 0 ); - puts( "*** END OF POSIX TIME TEST PSXTMSLEEP02 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; @@ -60,7 +62,7 @@ void *POSIX_Init( int status; pthread_t threadId; - puts( "\n\n*** POSIX TIME TEST PSXTMSLEEP02 ***" ); + TEST_BEGIN(); for ( i=0 ; i < OPERATION_COUNT - 1 ; i++ ) { status = pthread_create( &threadId, NULL, Middle, NULL ); |