diff options
author | bjorn larsson <bjornlarsson@oarcorp.com> | 2014-03-21 10:48:01 -0500 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:37 +0100 |
commit | 2ead50ac4e29d0082dd1f833771a01bb2b642636 (patch) | |
tree | 8d62439e985b55410c124d6960255ed28edef2c4 /testsuites/tmtests/tm02 | |
parent | tests/sptests: Use <rtems/test.h> (diff) | |
download | rtems-2ead50ac4e29d0082dd1f833771a01bb2b642636.tar.bz2 |
tmtests: convert to test.h
Diffstat (limited to 'testsuites/tmtests/tm02')
-rw-r--r-- | testsuites/tmtests/tm02/task1.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/tmtests/tm02/task1.c b/testsuites/tmtests/tm02/task1.c index bae5a1a094..e27e4a0188 100644 --- a/testsuites/tmtests/tm02/task1.c +++ b/testsuites/tmtests/tm02/task1.c @@ -14,6 +14,8 @@ #define CONFIGURE_INIT #include "system.h" +const char rtems_test_name[] = "TIME TEST 2"; + rtems_id High_id; rtems_id Low_id; rtems_id Semaphore_id; @@ -42,7 +44,7 @@ rtems_task Init( Print_Warning(); - puts( "\n\n*** TIME TEST 2 ***" ); + TEST_BEGIN(); test_init(); @@ -154,6 +156,6 @@ rtems_task Low_task( CALLING_OVERHEAD_SEMAPHORE_OBTAIN ); - puts( "*** END OF TEST 2 ***" ); + TEST_END(); rtems_test_exit( 0 ); } |