summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/monitor
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/monitor')
-rw-r--r--testsuites/libtests/monitor/init.c6
-rw-r--r--testsuites/libtests/monitor/system.h2
2 files changed, 6 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 );
}
diff --git a/testsuites/libtests/monitor/system.h b/testsuites/libtests/monitor/system.h
index e6f1c9fa57..fbe5ba17a0 100644
--- a/testsuites/libtests/monitor/system.h
+++ b/testsuites/libtests/monitor/system.h
@@ -41,6 +41,8 @@ void Get_all_counters( void );
#define CONFIGURE_INIT_TASK_PRIORITY 10
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_EXTRA_TASK_STACKS \