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/psxmsgq03/init.c | 6 ++++-- testsuites/psxtests/psxmsgq03/system.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxmsgq03') diff --git a/testsuites/psxtests/psxmsgq03/init.c b/testsuites/psxtests/psxmsgq03/init.c index d830389135..14644420c8 100644 --- a/testsuites/psxtests/psxmsgq03/init.c +++ b/testsuites/psxtests/psxmsgq03/init.c @@ -20,6 +20,8 @@ #include "test_support.h" +const char rtems_test_name[] = "PSXMSGQ 3"; + /* forward declarations to avoid warnings */ rtems_timer_service_routine mq_send_timer(rtems_id timer, void *arg); @@ -50,7 +52,7 @@ void *POSIX_Init( rtems_id timer; rtems_status_code rc; - puts( "\n\n*** POSIX MESSAGE QUEUE TEST 3 ***" ); + TEST_BEGIN(); attr.mq_maxmsg = 1; attr.mq_msgsize = sizeof(int); @@ -106,7 +108,7 @@ void *POSIX_Init( puts( "Init - mq_send from ISR returned correct status" ); - puts( "*** END OF POSIX MESSAGE QUEUE TEST 3 ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; /* just so the compiler thinks we returned something */ diff --git a/testsuites/psxtests/psxmsgq03/system.h b/testsuites/psxtests/psxmsgq03/system.h index cd405ea885..6be55ceb81 100644 --- a/testsuites/psxtests/psxmsgq03/system.h +++ b/testsuites/psxtests/psxmsgq03/system.h @@ -30,6 +30,8 @@ void *POSIX_Init( #define CONFIGURE_POSIX_INIT_THREAD_TABLE +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_MAXIMUM_POSIX_THREADS 1 #define CONFIGURE_MAXIMUM_POSIX_MESSAGE_QUEUES 1 #define CONFIGURE_MAXIMUM_TIMERS 1 -- cgit v1.2.3