summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxmsgq03/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxmsgq03/init.c')
-rw-r--r--testsuites/psxtests/psxmsgq03/init.c6
1 files changed, 4 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 */