From 2ead50ac4e29d0082dd1f833771a01bb2b642636 Mon Sep 17 00:00:00 2001 From: bjorn larsson Date: Fri, 21 Mar 2014 10:48:01 -0500 Subject: tmtests: convert to test.h --- testsuites/tmtests/tm21/task1.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'testsuites/tmtests/tm21') diff --git a/testsuites/tmtests/tm21/task1.c b/testsuites/tmtests/tm21/task1.c index 8813f7b7c3..69c6a96158 100644 --- a/testsuites/tmtests/tm21/task1.c +++ b/testsuites/tmtests/tm21/task1.c @@ -14,6 +14,8 @@ #define CONFIGURE_INIT #include "system.h" +const char rtems_test_name[] = "TIME TEST 21"; + uint8_t Region_area[ 2048 ] CPU_STRUCTURE_ALIGNMENT; uint8_t Partition_area[ 2048 ] CPU_STRUCTURE_ALIGNMENT; @@ -30,7 +32,7 @@ rtems_task Init( Print_Warning(); - puts( "\n\n*** TIME TEST 21 ***" ); + TEST_BEGIN(); status = rtems_task_create( rtems_build_name( 'T', 'I', 'M', 'E' ), @@ -233,6 +235,6 @@ rtems_task Task_1( CALLING_OVERHEAD_RATE_MONOTONIC_IDENT ); - puts( "*** END OF TEST 21 ***" ); + TEST_END(); rtems_test_exit( 0 ); } -- cgit v1.2.3