diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
commit | 698c2e504a4382036b412e1b2798ca83432bbbab (patch) | |
tree | 114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psx14/init.c | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psx14/init.c')
-rw-r--r-- | testsuites/psxtests/psx14/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx14/init.c b/testsuites/psxtests/psx14/init.c index 8e968c7e99..070501f065 100644 --- a/testsuites/psxtests/psx14/init.c +++ b/testsuites/psxtests/psx14/init.c @@ -17,6 +17,8 @@ #include <rtems/score/objectimpl.h> #include "tmacros.h" +const char rtems_test_name[] = "PSX 14"; + void *POSIX_Init( void *argument ) @@ -25,7 +27,7 @@ void *POSIX_Init( char *ptr; rtems_status_code status; - puts( "\n\n*** POSIX TEST 14 ***" ); + TEST_BEGIN(); ptr = rtems_object_get_name( pthread_self(), 128, name ); printf( "rtems_object_get_name returned (%s) for init thread\n", ptr ); @@ -60,7 +62,7 @@ void *POSIX_Init( ); - puts( "*** END OF POSIX TEST 14 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; |