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/psxmsgq01 | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxmsgq01')
-rw-r--r-- | testsuites/psxtests/psxmsgq01/init.c | 6 | ||||
-rw-r--r-- | testsuites/psxtests/psxmsgq01/system.h | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c index 0f4bb32f92..5d544ddeeb 100644 --- a/testsuites/psxtests/psxmsgq01/init.c +++ b/testsuites/psxtests/psxmsgq01/init.c @@ -20,6 +20,8 @@ #include <signal.h> /* signal facilities */ #include "test_support.h" +const char rtems_test_name[] = "PSXMSGQ 1"; + /* forward declarations to avoid warnings */ void Start_Test(char *description); void Validate_attributes(mqd_t mq, int oflag, int msg_count); @@ -1272,7 +1274,7 @@ void *POSIX_Init( void *argument ) { - puts( "\n\n*** POSIX MESSAGE QUEUE TEST ***" ); + TEST_BEGIN(); validate_mq_open_error_codes( ); open_test_queues(); @@ -1291,7 +1293,7 @@ void *POSIX_Init( verify_mq_receive(); verify_mq_send(); - puts( "*** END OF POSIX MESSAGE QUEUE TEST ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; /* just so the compiler thinks we returned something */ diff --git a/testsuites/psxtests/psxmsgq01/system.h b/testsuites/psxtests/psxmsgq01/system.h index 3c39a94024..764f733ff4 100644 --- a/testsuites/psxtests/psxmsgq01/system.h +++ b/testsuites/psxtests/psxmsgq01/system.h @@ -34,6 +34,8 @@ void *Task_5(void *argument); #define CONFIGURE_POSIX_INIT_THREAD_TABLE +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 5 #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 10 #define CONFIGURE_MAXIMUM_POSIX_TIMERS 4 |