summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm26/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/tm26/task1.c
parenttests/sptests: Use <rtems/test.h> (diff)
downloadrtems-2ead50ac4e29d0082dd1f833771a01bb2b642636.tar.bz2
tmtests: convert to test.h
Diffstat (limited to 'testsuites/tmtests/tm26/task1.c')
-rw-r--r--testsuites/tmtests/tm26/task1.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c
index 7003e5adcd..f6cdddfa8b 100644
--- a/testsuites/tmtests/tm26/task1.c
+++ b/testsuites/tmtests/tm26/task1.c
@@ -25,6 +25,8 @@
#define PREVENT_SMP_ASSERT_FAILURES
#endif
+const char rtems_test_name[] = "TIME TEST 26";
+
/* TEST DATA */
rtems_id Semaphore_id;
@@ -218,12 +220,12 @@ rtems_task Init(
Print_Warning();
- puts( "\n\n*** TIME TEST 26 ***" );
+ TEST_BEGIN();
if (_Scheduler.Operations.initialize != _Scheduler_priority_Initialize) {
puts(" Error ==> " );
puts("Test only supported for deterministic priority scheduler\n" );
- puts( "*** END OF TEST 26 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}
@@ -762,6 +764,6 @@ void complete_test( void )
0
);
- puts( "*** END OF TEST 26 ***" );
+ TEST_END();
rtems_test_exit( 0 );
}