From 698c2e504a4382036b412e1b2798ca83432bbbab Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 25 Mar 2014 08:06:16 +0100 Subject: tests/psxtests: Use --- testsuites/psxtests/psxmsgq04/init.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxmsgq04') diff --git a/testsuites/psxtests/psxmsgq04/init.c b/testsuites/psxtests/psxmsgq04/init.c index 5b59c6023a..7086cbe035 100644 --- a/testsuites/psxtests/psxmsgq04/init.c +++ b/testsuites/psxtests/psxmsgq04/init.c @@ -22,6 +22,8 @@ #include "test_support.h" +const char rtems_test_name[] = "PSXMSGQ 4"; + /* forward declarations to avoid warnings */ void *POSIX_Init(void *argument); @@ -38,7 +40,7 @@ void *POSIX_Init( bool sb; const char *name; - puts( "\n\n*** POSIX MESSAGE QUEUE TEST 4 ***" ); + TEST_BEGIN(); attr.mq_maxmsg = 1; attr.mq_msgsize = sizeof(int); @@ -114,7 +116,7 @@ void *POSIX_Init( perror( "mq_close failed" ); rtems_test_assert( sc == 0 ); - puts( "*** END OF POSIX MESSAGE QUEUE TEST 4 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; /* just so the compiler thinks we returned something */ @@ -131,6 +133,8 @@ void *POSIX_Init( #define CONFIGURE_MESSAGE_BUFFER_MEMORY \ (2 * CONFIGURE_MESSAGE_BUFFERS_FOR_QUEUE(1, sizeof(int))) +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 1 #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 1 #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUE_DESCRIPTORS 2 -- cgit v1.2.3