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/psxcleanup | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxcleanup')
-rw-r--r-- | testsuites/psxtests/psxcleanup/psxcleanup.c | 6 | ||||
-rw-r--r-- | testsuites/psxtests/psxcleanup/system.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxcleanup/psxcleanup.c b/testsuites/psxtests/psxcleanup/psxcleanup.c index 2ab4e384f4..2af4aaf78d 100644 --- a/testsuites/psxtests/psxcleanup/psxcleanup.c +++ b/testsuites/psxtests/psxcleanup/psxcleanup.c @@ -23,6 +23,8 @@ #include <stdio.h> /* console facilities */ #include "tmacros.h" +const char rtems_test_name[] = "PSXCLEANUP"; + #define NUMBER_THREADS 2 pthread_t ThreadIds[NUMBER_THREADS]; @@ -230,7 +232,7 @@ void *POSIX_Init( int status; lock_t l; - puts( "\n\n*** POSIX CLEANUP TEST ***" ); + TEST_BEGIN(); /*************** INITIALIZE ***************/ initialize_lock_t(&l); @@ -251,7 +253,7 @@ void *POSIX_Init( sleep(1); /*************** END OF TEST *****************/ - puts( "*** END OF POSIX CLEANUP TEST ***\n" ); + TEST_END(); rtems_test_exit(0); } diff --git a/testsuites/psxtests/psxcleanup/system.h b/testsuites/psxtests/psxcleanup/system.h index 3caa7ac0dd..04818f8add 100644 --- a/testsuites/psxtests/psxcleanup/system.h +++ b/testsuites/psxtests/psxcleanup/system.h @@ -39,6 +39,8 @@ void *task_c( #define CONFIGURE_POSIX_INIT_THREAD_TABLE +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 4 #define CONFIGURE_MAXIMUM_POSIX_TIMERS 4 #define CONFIGURE_MAXIMUM_TIMERS 4 |