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 | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psx14')
-rw-r--r-- | testsuites/psxtests/psx14/init.c | 6 | ||||
-rw-r--r-- | testsuites/psxtests/psx14/system.h | 2 |
2 files changed, 6 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; diff --git a/testsuites/psxtests/psx14/system.h b/testsuites/psxtests/psx14/system.h index a654b8e2ec..4de216015a 100644 --- a/testsuites/psxtests/psx14/system.h +++ b/testsuites/psxtests/psx14/system.h @@ -27,6 +27,8 @@ void *POSIX_Init( #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 2 #define CONFIGURE_POSIX_INIT_THREAD_TABLE |