diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-17 08:10:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-20 09:10:26 +0100 |
commit | f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133 (patch) | |
tree | 851dc4a6921d6cc7936aefa6343c516fff452dd8 /testsuites/libtests/monitor/init.c | |
parent | tests/fstests: Remove duplicate begin/end messages (diff) | |
download | rtems-f8b2eb03f72d9d1a2c2fe9bc8775c53e4b594133.tar.bz2 |
tests/libtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/libtests/monitor/init.c')
-rw-r--r-- | testsuites/libtests/monitor/init.c | 6 |
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 ); } |