summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq03
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxmsgq03')
-rw-r--r--testsuites/psxtests/psxmsgq03/init.c6
-rw-r--r--testsuites/psxtests/psxmsgq03/system.h2
2 files changed, 6 insertions, 2 deletions
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