summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/monitor/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/monitor/init.c')
-rw-r--r--testsuites/libtests/monitor/init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/libtests/monitor/init.c b/testsuites/libtests/monitor/init.c
index 32b53685ac..1934d9856d 100644
--- a/testsuites/libtests/monitor/init.c
+++ b/testsuites/libtests/monitor/init.c
@@ -21,6 +21,8 @@
#include <rtems/monitor.h>
#include <rtems/shell.h>
+const char rtems_test_name[] = "MONITOR";
+
rtems_task_priority Priorities[6] = { 0, 1, 1, 3, 4, 5 };
rtems_task Task_1_through_5(
@@ -50,7 +52,7 @@ rtems_task Init(
uint32_t index;
rtems_status_code status;
- puts( "\n\n*** TEST MONITOR ***" );
+ TEST_BEGIN();
Task_name[ 1 ] = rtems_build_name( 'T', 'A', '1', ' ' );
Task_name[ 2 ] = rtems_build_name( 'T', 'A', '2', ' ' );
@@ -87,7 +89,7 @@ rtems_task Init(
status = rtems_task_delete( RTEMS_SELF );
directive_failed( status, "rtems_task_delete of RTEMS_SELF" );
} else {
- puts( "*** END OF TEST MONITOR ***" );
+ TEST_END();
rtems_test_exit( 0 );
}