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/psx06 | |
parent | 2272905333bf42690d3badbe052586f568e19436 (diff) |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psx06')
-rw-r--r-- | testsuites/psxtests/psx06/init.c | 6 | ||||
-rw-r--r-- | testsuites/psxtests/psx06/system.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx06/init.c b/testsuites/psxtests/psx06/init.c index 20e5a60e06..e077a28597 100644 --- a/testsuites/psxtests/psx06/init.c +++ b/testsuites/psxtests/psx06/init.c @@ -15,6 +15,8 @@ #include "system.h" #include <errno.h> +const char rtems_test_name[] = "PSX 6"; + extern void Key_destructor( void *key_data ); void Key_destructor( @@ -40,7 +42,7 @@ void *POSIX_Init( unsigned int remaining; uint32_t *key_data; - puts( "\n\n*** POSIX TEST 6 ***" ); + TEST_BEGIN(); /* set the time of day, and print our buffer in multiple ways */ @@ -117,7 +119,7 @@ void *POSIX_Init( printf( "Destructor invoked %d times\n", Destructor_invoked ); - puts( "*** END OF POSIX TEST 6 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; /* just so the compiler thinks we returned something */ diff --git a/testsuites/psxtests/psx06/system.h b/testsuites/psxtests/psx06/system.h index 31e25819d2..dbb991d7f1 100644 --- a/testsuites/psxtests/psx06/system.h +++ b/testsuites/psxtests/psx06/system.h @@ -32,6 +32,8 @@ void *Task_2( #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 3 #define CONFIGURE_MAXIMUM_POSIX_KEYS 1 |