summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm03/task1.c
diff options
context:
space:
mode:
authorbjorn larsson <bjornlarsson@oarcorp.com>2014-03-21 10:48:01 -0500
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:37 +0100
commit2ead50ac4e29d0082dd1f833771a01bb2b642636 (patch)
tree8d62439e985b55410c124d6960255ed28edef2c4 /testsuites/tmtests/tm03/task1.c
parenttests/sptests: Use <rtems/test.h> (diff)
downloadrtems-2ead50ac4e29d0082dd1f833771a01bb2b642636.tar.bz2
tmtests: convert to test.h
Diffstat (limited to 'testsuites/tmtests/tm03/task1.c')
-rw-r--r--testsuites/tmtests/tm03/task1.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/tmtests/tm03/task1.c b/testsuites/tmtests/tm03/task1.c
index 24b34396da..9cd8de8cdb 100644
--- a/testsuites/tmtests/tm03/task1.c
+++ b/testsuites/tmtests/tm03/task1.c
@@ -14,6 +14,8 @@
#define CONFIGURE_INIT
#include "system.h"
+const char rtems_test_name[] = "TIME TEST 3";
+
rtems_id Semaphore_id;
rtems_task test_init(
rtems_task_argument argument
@@ -38,7 +40,7 @@ rtems_task Init(
Print_Warning();
- puts( "\n\n*** TIME TEST 3 ***" );
+ TEST_BEGIN();
status = rtems_task_create(
rtems_build_name( 'T', 'A', '1', ' ' ),
RTEMS_MAXIMUM_PRIORITY - 1u,
@@ -145,6 +147,6 @@ rtems_task High_task(
CALLING_OVERHEAD_SEMAPHORE_RELEASE
);
- puts( "*** END OF TEST 3 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}