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/psxtmthread06 | |
parent | tmtests: convert to test.h (diff) | |
download | rtems-fd46711c5410cde6f5a1913e6d2e45ddee190269.tar.bz2 |
psxtmtests: Add test.h support
Diffstat (limited to 'testsuites/psxtmtests/psxtmthread06')
-rw-r--r-- | testsuites/psxtmtests/psxtmthread06/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtmtests/psxtmthread06/init.c b/testsuites/psxtmtests/psxtmthread06/init.c index b0e30338d5..0a7ee34eeb 100644 --- a/testsuites/psxtmtests/psxtmthread06/init.c +++ b/testsuites/psxtmtests/psxtmthread06/init.c @@ -19,6 +19,8 @@ #include <rtems/timerdrv.h> #include "test_support.h" +const char rtems_test_name[] = "PSXTMTHREAD 06"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); void benchmark_pthread_create(void); @@ -66,7 +68,7 @@ void *test_thread( 0 ); - puts( "*** END OF POSIX TIME TEST PSXTMTHREAD06 ***" ); + TEST_END(); rtems_test_exit(0); //Empty thread used in pthread_create(). return NULL; @@ -77,7 +79,7 @@ void *POSIX_Init( ) { - puts( "\n\n*** POSIX TIME TEST PSXTMTHREAD06 ***" ); + TEST_BEGIN(); benchmark_pthread_setschedparam(); rtems_test_assert( 1 ); |